Class CIPStereoCalculator
java.lang.Object
chemaxon.core.calculations.stereo.CIPStereoCalculator
Stereo calculator with the Cahn, Ingold, Prelog (CIP) 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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(MoleculeGraph mol, EnumSet<CIPStereoType> types, boolean iupac) Calculates the stereo descriptors of the given molecule with timeout information.static Collection<CIPStereoDescriptor> Calculates the stereo descriptors of the given molecule.static Collection<CIPStereoDescriptor> calculateCIPStereoDescriptors(MoleculeGraph mol, boolean iupac) Calculates the stereo descriptors of the given molecule.static Collection<CIPStereoDescriptor> calculateCIPStereoDescriptors(MoleculeGraph mol, EnumSet<CIPStereoType> types, boolean iupac) Calculates the stereo descriptors of the given molecule.
-
Constructor Details
-
CIPStereoCalculator
public CIPStereoCalculator()
-
-
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<CIPStereoDescriptor> 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<CIPStereoDescriptor> calculateCIPStereoDescriptors(MoleculeGraph mol, EnumSet<CIPStereoType> 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<CIPStereoType> types, boolean iupac) Calculates the stereo descriptors of the given molecule with timeout information. 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
-