Package org.openmolecules.chem.conf.so
Class AxialStereoRule
- java.lang.Object
-
- org.openmolecules.chem.conf.so.ConformationRule
-
- org.openmolecules.chem.conf.so.AxialStereoRule
-
public class AxialStereoRule extends ConformationRule
Handles attropisomery as well as chiral allenes
-
-
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 AxialStereoRule(StereoMolecule mol, int[] atom, int[] rearArom, boolean isInRing, boolean positiveTorsionWanted)
-
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()
java.lang.String
toString()
-
Methods inherited from class org.openmolecules.chem.conf.so.ConformationRule
addAtomList, getAtomList, isEnabled, moveAtomWithUnboundedNeighbors, moveGroup, moveSubstituent, rotateAtom, setEnabled
-
-
-
-
Constructor Detail
-
AxialStereoRule
public AxialStereoRule(StereoMolecule mol, int[] atom, int[] rearArom, boolean isInRing, boolean positiveTorsionWanted)
-
-
Method Detail
-
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
-
-