Package chemaxon.calculations.cip
Class CIPStereoCalculator
java.lang.Object
chemaxon.calculations.cip.CIPStereoCalculator
Stereo calculator with the Cahn, Ingold, Prelog priority rules. Detects the
tetrahedral, axial, cis/trans and atrop stereo features.
- Since:
- Marvin 6.4, 2014.05.16.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordWrapper for the calculated descriptor with timeout information. -
Method Summary
Modifier and TypeMethodDescriptioncalculate(MoleculeGraph mol, EnumSet<CIPStereoDescriptorIface.CIPType> types, boolean iupac) Calculates the stereo descriptors with timeout information of the given molecule.static Collection<CIPStereoDescriptorIface> Calculates the stereo descriptors of the given molecule.static Collection<CIPStereoDescriptorIface> calculateCIPStereoDescriptors(MoleculeGraph mol, boolean iupac) Calculates the stereo descriptors of the given molecule.static Collection<CIPStereoDescriptorIface> calculateCIPStereoDescriptors(MoleculeGraph mol, EnumSet<CIPStereoDescriptorIface.CIPType> types, boolean iupac) Calculates the stereo descriptors of the given molecule.
-
Method Details
-
calculateCIPStereoDescriptors
Calculates the stereo descriptors of the given molecule.- Parameters:
mol- molecule to process- Returns:
- collection of the calculated descriptors
-
calculateCIPStereoDescriptors
public static Collection<CIPStereoDescriptorIface> calculateCIPStereoDescriptors(MoleculeGraph mol, boolean iupac) Calculates the stereo descriptors of the given molecule.- Parameters:
mol- molecule to processiupac- if iupac type descriptors should be calculated- Returns:
- collection of the calculated descriptors
-
calculateCIPStereoDescriptors
public static Collection<CIPStereoDescriptorIface> calculateCIPStereoDescriptors(MoleculeGraph mol, EnumSet<CIPStereoDescriptorIface.CIPType> types, boolean iupac) Calculates the stereo descriptors of the given molecule.- Parameters:
mol- molecule to processtypes- cip types to calculateiupac- if iupac type descriptors should be calculated- Returns:
- collection of the calculated descriptors
-
calculate
public static Collection<CIPStereoCalculator.CIPStereoCalculatorResult> calculate(MoleculeGraph mol, EnumSet<CIPStereoDescriptorIface.CIPType> types, boolean iupac) Calculates the stereo descriptors with timeout information of the given molecule. The returned wrapped stereo descriptors are the same as the ones returned bycalculateCIPStereoDescriptors(MoleculeGraph, EnumSet, boolean), but with additional information on whether the calculation of the descriptor had to be stopped due timeout.- Parameters:
mol- molecule to processtypes- cip types to calculateiupac- if iupac type descriptors should be calculated- Returns:
- collection of the calculated descriptors
-