Class DoubleBondElementEncoderFactory

  • All Implemented Interfaces:
    StereoEncoderFactory

    public final class DoubleBondElementEncoderFactory
    extends Object
    implements StereoEncoderFactory
    Defines a stereo encoder factory for the hash code. The factory allows the generation of stereo hash codes for molecules with predefined IDoubleBondStereochemistry stereo elements.
    Author:
    John May
    Belongs to CDK module:
    hash
    • Constructor Detail

      • DoubleBondElementEncoderFactory

        public DoubleBondElementEncoderFactory()
    • Method Detail

      • create

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