Class BuildupMcs

java.lang.Object
com.chemaxon.search.mcs.MaxCommonSubstructure
com.chemaxon.search.mcs.buildup.BuildupMcs
All Implemented Interfaces:
chemaxon.license.Licensable

@PublicApi public final class BuildupMcs extends MaxCommonSubstructure
Implements a heuristic MCS algorithm using the build-up method of Takeshi Kawabata.

For more information and the public API, see the base class MaxCommonSubstructure.

  • Constructor Details

    • BuildupMcs

      public BuildupMcs(McsSearchOptions searchOpts)
      Creates a new BuildupMcs object with the given search options.
      Parameters:
      searchOpts - the search options
  • Method Details

    • setTopologyConstraint

      public void setTopologyConstraint(int t)
      Sets the maximum difference in topology the mapped part of the molecules can have.
      Parameters:
      t - the topology constraint.
    • getTopologyConstraint

      public int getTopologyConstraint()
      Gets the the maximum difference in topology the mapped part of the molecules can have.
      Returns:
      the topology constraint.
    • findMcs

      protected McsSearchResult findMcs()
      Description copied from class: MaxCommonSubstructure
      Finds the MCS and all related data (fragments and mappings). Deriving classes must implement this method to calculate an (approximate) maximum common substructure after internal data structures are properly initialized.

      For internal use only.

      Specified by:
      findMcs in class MaxCommonSubstructure