Package org.openscience.cdk.fingerprint
Class SimpleAtomComparator
java.lang.Object
org.openscience.cdk.fingerprint.SimpleAtomComparator
- All Implemented Interfaces:
Serializable
,Comparator<IAtom>
This code returns a sorted set of atoms for a container according to its symbol and hybridization states. This will aid in finding a deterministic path rather than Stochastic one.
- Author:
- Syed Asad Rahman (2012)
- See Also:
- Source code:
- main
- Belongs to CDK module:
- fingerprint
- Keywords:
- fingerprint, similarity
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SimpleAtomComparator
public SimpleAtomComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<IAtom>
-