public class MCSSDistance extends Object implements IDistanceFunction<org.openscience.cdk.interfaces.IAtomContainer>
Constructor and Description |
---|
MCSSDistance() |
Modifier and Type | Method and Description |
---|---|
float |
getDistance(org.openscience.cdk.interfaces.IAtomContainer object1,
org.openscience.cdk.interfaces.IAtomContainer object2)
Distance should be large if objects are "far away" from each other, i.e.
|
float |
getNativeComparison(org.openscience.cdk.interfaces.IAtomContainer object1,
org.openscience.cdk.interfaces.IAtomContainer object2)
Calculates native comparison index between two objects (distance or similarity).
|
String |
toString() |
public float getNativeComparison(org.openscience.cdk.interfaces.IAtomContainer object1, org.openscience.cdk.interfaces.IAtomContainer object2) throws Exception
IDistanceFunction
IDistanceFunction.getDistance(Object, Object)
.getNativeComparison
in interface IDistanceFunction<org.openscience.cdk.interfaces.IAtomContainer>
Exception
public float getDistance(org.openscience.cdk.interfaces.IAtomContainer object1, org.openscience.cdk.interfaces.IAtomContainer object2) throws Exception
IDistanceFunction
getDistance
in interface IDistanceFunction<org.openscience.cdk.interfaces.IAtomContainer>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.