Package org.openscience.cdk.hash.stereo
Interface StereoEncoderFactory
- All Known Implementing Classes:
DoubleBondElementEncoderFactory
,GeometricCumulativeDoubleBondFactory
,GeometricDoubleBondEncoderFactory
,GeometricTetrahedralEncoderFactory
,TetrahedralElementEncoderFactory
public interface StereoEncoderFactory
Describes a factory for stereo elements. The factory create encoders for
specific stereo elements.
- Author:
- John May
- Source code:
- main
- Belongs to CDK module:
- hash
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StereoEncoderFactory
Empty factory for when stereo encoding is not required -
Method Summary
Modifier and TypeMethodDescriptioncreate
(IAtomContainer container, int[][] graph) Create a stereo-encoder for possible stereo-chemical configurations.
-
Field Details
-
EMPTY
Empty factory for when stereo encoding is not required
-
-
Method Details
-
create
Create a stereo-encoder for possible stereo-chemical configurations.- Parameters:
container
- the containergraph
- adjacency list representation of the container- Returns:
- a new stereo encoder
-