Package chemaxon.search.mcs
Class BuildupMcs
java.lang.Object
chemaxon.search.mcs.MaxCommonSubstructure
chemaxon.search.mcs.BuildupMcs
- All Implemented Interfaces:
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 Summary
Fields inherited from class chemaxon.search.mcs.MaxCommonSubstructure
DEFAULT_RANDOM_SEED -
Constructor Summary
ConstructorsConstructorDescriptionBuildupMcs(McsSearchOptions searchOpts) Creates a newBuildupMcsobject with the given search options. -
Method Summary
Modifier and TypeMethodDescriptionprotected McsSearchResultfindMcs()intGets 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 chemaxon.search.mcs.MaxCommonSubstructure
calculateSimilarityUpperBound, calculateUpperBound, find, getQuery, getRandomSeed, getSearchMode, getSearchOptions, getTarget, getTimeLimit, hasNextResult, isLicensed, newInstance, newInstance, nextResult, setLicenseEnvironment, setMolecules, setQuery, setRandomSeed, setSearchMode, setTarget, setTimeLimit
-
Constructor Details
-
BuildupMcs
Creates a newBuildupMcsobject 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 maximum difference in topology the mapped part of the molecules can have.- Returns:
- the topology constraint.
-
findMcs
-