|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.MolAligner
public class MolAligner
Tool for aligning a target molecule to a pattern molecule. Can be used for 2D and 3D alignment as well.
| Constructor Summary | |
|---|---|
MolAligner()
Creates a new MolAligner object. |
|
MolAligner(Molecule patternMolecule,
Molecule targetMolecule)
Creates a new MolAligner object while setting the pattern and target molecules |
|
| Method Summary | |
|---|---|
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)
Set pattern molecule |
void |
setTargetMolecule(Molecule mol)
Set target molecule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MolAligner()
public MolAligner(Molecule patternMolecule,
Molecule targetMolecule)
patternMolecule - the pattern moleculetargetMolecule - | Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||