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

    Fields
    Modifier and Type
    Field
    Description
    Empty factory for when stereo encoding is not required
  • Method Summary

    Modifier and Type
    Method
    Description
    create(IAtomContainer container, int[][] graph)
    Create a stereo-encoder for possible stereo-chemical configurations.
  • Field Details

    • EMPTY

      static final StereoEncoderFactory EMPTY
      Empty factory for when stereo encoding is not required
  • Method Details

    • create

      StereoEncoder create(IAtomContainer container, int[][] graph)
      Create a stereo-encoder for possible stereo-chemical configurations.
      Parameters:
      container - the container
      graph - adjacency list representation of the container
      Returns:
      a new stereo encoder