public class MolAligner extends Object
| Constructor and Description |
|---|
MolAligner()
Creates a new MolAligner object.
|
MolAligner(Molecule patternMolecule,
Molecule targetMolecule)
Creates a new MolAligner object while setting the pattern and target
molecules
|
| Modifier and Type | Method and Description |
|---|---|
void |
align()
Execute best alignment based on hit map provided earlier
|
void |
align(int[] hit)
Calculates and performs the best alignment possible specified by the hit
map array.
|
void |
calculate(int[] hit)
Calculate best alignment based on the hit map
|
double |
getError()
Get the error for the best alignment
|
void |
setPatternMolecule(Molecule mol)
Sets pattern molecule and calculates its dimension
|
void |
setTargetMolecule(Molecule mol)
Sets target molecule and calculates its dimension
|
public void setPatternMolecule(Molecule mol)
mol - pattern moleculepublic void setTargetMolecule(Molecule mol)
mol - molecule to alignpublic double getError()
public void calculate(int[] hit)
hit - hit map array, use -1 for no matching atom indexpublic void align()
calculate(int[]),
align(int[])public void align(int[] hit)
hit - hit map array, use -1 for no matching atom indexcalculate(int[]),
align()