Package com.chemaxon.search.mcs.buildup
Class BuildupMcs
java.lang.Object
com.chemaxon.search.mcs.MaxCommonSubstructure
com.chemaxon.search.mcs.buildup.BuildupMcs
- All Implemented Interfaces:
- chemaxon.license.Licensable
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.
- 
Field SummaryFields inherited from class com.chemaxon.search.mcs.MaxCommonSubstructureDEFAULT_RANDOM_SEED, LOG, matcher, queryMol, randomSeed, searchMode, searchOpts, targetMol, timeLimit
- 
Constructor SummaryConstructorsConstructorDescriptionBuildupMcs(McsSearchOptions searchOpts) Creates a newBuildupMcsobject with the given search options.
- 
Method SummaryModifier and TypeMethodDescriptionprotected McsSearchResultfindMcs()Finds the MCS and all related data (fragments and mappings).intGets the the maximum difference in topology the mapped part of the molecules can have.voidsetTopologyConstraint(int t) Sets the maximum difference in topology the mapped part of the molecules can have.Methods inherited from class com.chemaxon.search.mcs.MaxCommonSubstructurecalculateSimilarityUpperBound, calculateUpperBound, find, getQuery, getRandomSeed, getSearchMode, getSearchOptions, getTarget, getTimeLimit, hasNextResult, isLicensed, newInstance, newInstance, nextResult, setLicenseEnvironment, setMolecules, setQuery, setRandomSeed, setSearchMode, setTarget, setTimeLimit
- 
Constructor Details- 
BuildupMcsCreates a newBuildupMcsobject with the given search options.- Parameters:
- searchOpts- the search options
 
 
- 
- 
Method Details- 
setTopologyConstraintpublic void setTopologyConstraint(int t) Sets the maximum difference in topology the mapped part of the molecules can have.- Parameters:
- t- the topology constraint.
 
- 
getTopologyConstraintpublic int getTopologyConstraint()Gets the the maximum difference in topology the mapped part of the molecules can have.- Returns:
- the topology constraint.
 
- 
findMcsDescription copied from class:MaxCommonSubstructureFinds 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:
- findMcsin class- MaxCommonSubstructure
 
 
-