|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.sss.screen.HashCode
public final class HashCode
Hash code generator for molecules.
Explicit hydrogens are not considered.
NOTE: this class is not thread safe for the sake of efficiency,
multiple threads should use multiple instances.
| Field Summary | |
|---|---|
static int |
DEFAULT_RECURSION_LEVEL
|
| Constructor Summary | |
|---|---|
HashCode()
Creates a new instance of HashCode |
|
| Method Summary | |
|---|---|
int |
getHashCode(Molecule mol)
Gets hash code with default recursion level. |
int |
getHashCode(Molecule mol,
int recursion)
Gets the hash code. |
int |
getHashCode(Molecule mol,
int[] fp)
Gets hash code with default recursion level. |
int |
getHashCode(Molecule mol,
int[] fp,
int recursion)
Gets the hash code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_RECURSION_LEVEL
| Constructor Detail |
|---|
public HashCode()
| Method Detail |
|---|
public int getHashCode(Molecule mol)
mol - the molecule
DEFAULT_RECURSION_LEVEL,
getHashCode(chemaxon.struc.Molecule, int)
public int getHashCode(Molecule mol,
int recursion)
mol - the moleculerecursion - the maximum level of recursion. Increase for better
diversity, decrease for speed. Specify 1 or more.
DEFAULT_RECURSION_LEVEL
public int getHashCode(Molecule mol,
int[] fp)
mol - the moleculefp - the fingerprints in integers
DEFAULT_RECURSION_LEVEL,
getHashCode(chemaxon.struc.Molecule, int[], int)
public int getHashCode(Molecule mol,
int[] fp,
int recursion)
mol - the moleculefp - the fingerprints in integersrecursion - the maximum level of recursion. Increase for better
diversity, decrease fro speed. Specify 1 or more.
DEFAULT_RECURSION_LEVEL
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||