|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.marvin.alignment.MinMaxDistance
public class MinMaxDistance
Calculates the minimum or maximum intermolecular Cartesian distance between atoms by rotating flexible bonds. Molecule mol = MolImporter.importMol("CCCCCCCCC"); mol.clean(3,""); MinMaxDistance mm = new MinMaxDistance() mm.setMolecule(mol); mm.setAtom1(0); mm.setAtom2(5); double max = mm.calcMaxDist(); double min = mm.calcMinDist();
Field Summary | |
---|---|
static double |
WEIGHT
|
Constructor Summary | |
---|---|
MinMaxDistance()
|
Method Summary | |
---|---|
double |
calcMaxDist()
|
double |
calcMinDist()
Calculates the minimum distance between two atoms in the molecule. |
java.util.Collection<AlignmentMolecule> |
getMolecules()
|
chemaxon.marvin.alignment.NodeColor |
getNodeColor()
|
AlignmentProperties.NodeType |
getNodeType()
|
int |
getStepLimit()
|
int |
getTimeLimit()
|
boolean |
isLicensed()
Returns information about the licensing of the product. |
void |
resetMap()
|
void |
setAromatize(boolean aromatize)
|
void |
setAtom1(int atom1)
|
void |
setAtom2(int atom2)
|
void |
setDehidrogenize(boolean hy)
|
void |
setFlexibleRingRotatableBondCount(int b)
|
void |
setFlexibleRingSize(int s)
|
void |
setLicenseEnvironment(java.lang.String env)
Every license can have a modifier environment that's typically an integration environment. |
void |
setMinDistTryCount(int minDistTryCount)
|
void |
setMolecule(Molecule m)
|
void |
setNodeType(AlignmentProperties.NodeType t)
|
void |
setProgressMonitor(chemaxon.common.util.MProgressMonitor progressMonitor)
|
void |
setProperty(AlignmentProperties props)
|
void |
setProximity(chemaxon.marvin.alignment.AlignmentProperties.ProximityPotentialType pot)
|
void |
setStepLimit(int stepLimit)
|
void |
setTimeLimit(int timeLimit)
Sets the maximum time used for the alignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double WEIGHT
Constructor Detail |
---|
public MinMaxDistance()
Method Detail |
---|
public void setMolecule(Molecule m) throws chemaxon.marvin.alignment.AlignmentException
chemaxon.marvin.alignment.AlignmentException
public void setAtom1(int atom1)
public void setAtom2(int atom2)
public void setMinDistTryCount(int minDistTryCount)
minDistTryCount
- number of extra trials. Before every extra trial,
the conformation modified using random dihedralspublic double calcMinDist() throws chemaxon.marvin.alignment.AlignmentException
chemaxon.marvin.alignment.AlignmentException
public double calcMaxDist() throws chemaxon.marvin.alignment.AlignmentException
chemaxon.marvin.alignment.AlignmentException
public void resetMap()
public void setProperty(AlignmentProperties props)
public AlignmentProperties.NodeType getNodeType()
public chemaxon.marvin.alignment.NodeColor getNodeColor()
public void setAromatize(boolean aromatize)
public void setDehidrogenize(boolean hy)
public void setFlexibleRingSize(int s)
public void setFlexibleRingRotatableBondCount(int b)
public java.util.Collection<AlignmentMolecule> getMolecules()
public boolean isLicensed()
chemaxon.license.Licensable
return LicenseHandler.isLicensed( LicenseHandler.MY_IDENTIFIER, licenseEnvironment );
isLicensed
in interface chemaxon.license.Licensable
public void setLicenseEnvironment(java.lang.String env)
chemaxon.license.Licensable
private String licenseEnvironment = ""; public void setLicenseEnvironment(String env) { licenseEnvironment = env; }
setLicenseEnvironment
in interface chemaxon.license.Licensable
env
- environment String to be stored and passed to the LicenseHandler in the isLicensed methodpublic int getStepLimit()
public void setStepLimit(int stepLimit)
public int getTimeLimit()
public void setNodeType(AlignmentProperties.NodeType t)
public void setTimeLimit(int timeLimit)
timeLimit
- time limit in millisecond. if -1 then disabled.public void setProgressMonitor(chemaxon.common.util.MProgressMonitor progressMonitor)
public void setProximity(chemaxon.marvin.alignment.AlignmentProperties.ProximityPotentialType pot)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |