Class AtomSignature

    • Nested Class Summary

      • Nested classes/interfaces inherited from class signature.AbstractVertexSignature

        signature.AbstractVertexSignature.InvariantType
    • Field Summary

      • Fields inherited from class signature.AbstractVertexSignature

        END_BRANCH_SYMBOL, END_NODE_SYMBOL, START_BRANCH_SYMBOL, START_NODE_SYMBOL, TMP_COLORING_COUNT
    • Constructor Summary

      Constructors 
      Constructor Description
      AtomSignature​(int atomIndex, int height, IAtomContainer molecule)
      Create an atom signature starting at atomIndex and with a maximum height of height.
      AtomSignature​(int atomIndex, int height, signature.AbstractVertexSignature.InvariantType invariantType, IAtomContainer molecule)
      Create an atom signature starting at atomIndex, with maximum height of height, and using a particular invariant type.
      AtomSignature​(int atomIndex, IAtomContainer molecule)
      Create an atom signature starting at atomIndex.
      AtomSignature​(IAtom atom, int height, IAtomContainer molecule)
      Create an atom signature for the atom atom and with a maximum height of height.
      AtomSignature​(IAtom atom, int height, signature.AbstractVertexSignature.InvariantType invariantType, IAtomContainer molecule)
      Create an atom signature for the atom atom, with maximum height of height, and using a particular invariant type.
      AtomSignature​(IAtom atom, IAtomContainer molecule)
      Create an atom signature for the atom atom.
    • Constructor Detail

      • AtomSignature

        public AtomSignature​(int atomIndex,
                             IAtomContainer molecule)
        Create an atom signature starting at atomIndex.
        Parameters:
        atomIndex - the index of the atom that roots this signature
        molecule - the molecule to create the signature from
      • AtomSignature

        public AtomSignature​(IAtom atom,
                             IAtomContainer molecule)
        Create an atom signature for the atom atom.
        Parameters:
        atom - the atom to make the signature for
        molecule - the molecule to create the signature from
      • AtomSignature

        public AtomSignature​(int atomIndex,
                             int height,
                             IAtomContainer molecule)
        Create an atom signature starting at atomIndex and with a maximum height of height.
        Parameters:
        atomIndex - the index of the atom that roots this signature
        height - the maximum height of the signature
        molecule - the molecule to create the signature from
      • AtomSignature

        public AtomSignature​(IAtom atom,
                             int height,
                             IAtomContainer molecule)
        Create an atom signature for the atom atom and with a maximum height of height.
        Parameters:
        atom - the index of the atom that roots this signature
        height - the maximum height of the signature
        molecule - the molecule to create the signature from
      • AtomSignature

        public AtomSignature​(int atomIndex,
                             int height,
                             signature.AbstractVertexSignature.InvariantType invariantType,
                             IAtomContainer molecule)
        Create an atom signature starting at atomIndex, with maximum height of height, and using a particular invariant type.
        Parameters:
        atomIndex - the index of the atom that roots this signature
        height - the maximum height of the signature
        invariantType - the type of invariant (int, string, ...)
        molecule - the molecule to create the signature from
      • AtomSignature

        public AtomSignature​(IAtom atom,
                             int height,
                             signature.AbstractVertexSignature.InvariantType invariantType,
                             IAtomContainer molecule)
        Create an atom signature for the atom atom, with maximum height of height, and using a particular invariant type.
        Parameters:
        atom - the index of the atom that roots this signature
        height - the maximum height of the signature
        invariantType - the type of invariant (int, string, ...)
        molecule - the molecule to create the signature from
    • Method Detail

      • getIntLabel

        protected int getIntLabel​(int vertexIndex)
        Specified by:
        getIntLabel in class signature.AbstractVertexSignature
      • getConnected

        protected int[] getConnected​(int vertexIndex)
        Specified by:
        getConnected in class signature.AbstractVertexSignature
      • getEdgeLabel

        protected String getEdgeLabel​(int vertexIndex,
                                      int otherVertexIndex)
        Specified by:
        getEdgeLabel in class signature.AbstractVertexSignature
      • getVertexSymbol

        protected String getVertexSymbol​(int vertexIndex)
        Specified by:
        getVertexSymbol in class signature.AbstractVertexSignature
      • convertEdgeLabelToColor

        protected int convertEdgeLabelToColor​(String edgeLabel)
        Specified by:
        convertEdgeLabelToColor in class signature.AbstractVertexSignature