Package org.openmolecules.chem.conf.so
Class StraightLineRule
- java.lang.Object
-
- org.openmolecules.chem.conf.so.ConformationRule
-
- org.openmolecules.chem.conf.so.StraightLineRule
-
public class StraightLineRule extends ConformationRule
-
-
Field Summary
-
Fields inherited from class org.openmolecules.chem.conf.so.ConformationRule
mAtom, mIsEnabled, RULE_NAME, RULE_TYPE_BINAP, RULE_TYPE_DISTANCE, RULE_TYPE_LINE, RULE_TYPE_PLANE, RULE_TYPE_STEREO, RULE_TYPE_TORSION
-
-
Constructor Summary
Constructors Constructor Description StraightLineRule(int[] atom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
addStrain(Conformer conformer, double[] atomStrain)
boolean
apply(Conformer conformer, double cycleFactor)
static void
calculateRules(java.util.ArrayList<ConformationRule> ruleList, StereoMolecule mol)
int
getRuleType()
static void
main(java.lang.String[] args)
Test code...java.lang.String
toString()
-
Methods inherited from class org.openmolecules.chem.conf.so.ConformationRule
addAtomList, getAtomList, isEnabled, moveAtomWithUnboundedNeighbors, moveGroup, moveSubstituent, rotateAtom, setEnabled
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Test code...- Parameters:
args
-
-
calculateRules
public static void calculateRules(java.util.ArrayList<ConformationRule> ruleList, StereoMolecule mol)
-
apply
public boolean apply(Conformer conformer, double cycleFactor)
- Specified by:
apply
in classConformationRule
-
addStrain
public double addStrain(Conformer conformer, double[] atomStrain)
- Specified by:
addStrain
in classConformationRule
-
getRuleType
public int getRuleType()
- Specified by:
getRuleType
in classConformationRule
-
toString
public java.lang.String toString()
- Specified by:
toString
in classConformationRule
-
-