Class McGregor

    • Constructor Detail

      • McGregor

        public McGregor​(IAtomContainer source,
                        IAtomContainer target,
                        List<List<Integer>> mappings,
                        boolean shouldMatchBonds)
        Deprecated.
        Constructor for the McGregor algorithm.
        Parameters:
        source -
        target -
        mappings -
        shouldMatchBonds -
    • Method Detail

      • startMcGregorIteration

        public void startMcGregorIteration​(int largestMappingSize,
                                           Map<Integer,​Integer> presentMapping)
                                    throws IOException
        Deprecated.
        Start McGregor search and extend the mappings if possible.
        Parameters:
        largestMappingSize -
        presentMapping -
        Throws:
        IOException
      • startMcGregorIteration

        public void startMcGregorIteration​(int largestMappingSize,
                                           List<Integer> cliqueVector,
                                           List<Integer> compGraphNodes)
                                    throws IOException
        Deprecated.
        Start McGregor search and extend the mappings if possible.
        Parameters:
        largestMappingSize -
        cliqueVector -
        compGraphNodes -
        Throws:
        IOException
      • getMappings

        public List<List<Integer>> getMappings()
        Deprecated.
        Returns computed mappings.
        Returns:
        mappings
      • getMCSSize

        public int getMCSSize()
        Deprecated.
        Returns MCS size.
        Returns:
        MCS size
      • isNewMatrix

        public boolean isNewMatrix()
        Deprecated.
        Checks if its a new Matrix.
        Returns:
        the newMatrix
      • setNewMatrix

        public void setNewMatrix​(boolean newMatrix)
        Deprecated.
        set a new Matrix.
        Parameters:
        newMatrix - the newMatrix to set