@PublicAPI public final class HashCode extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RECURSION_LEVEL |
Constructor and Description |
---|
HashCode()
Creates a new instance of HashCode
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int DEFAULT_RECURSION_LEVEL
public int getHashCode(Molecule mol)
mol
- the moleculeDEFAULT_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 integersDEFAULT_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 for speed. Specify 1 or
more.DEFAULT_RECURSION_LEVEL