Interface LegacyLibraryMcsParameters
Parameters for
LibraryMcs
clustering implementation.-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
boolean
boolean
boolean
int
boolean
int
setAllowedLevelCount
(int allowedLevelCount) Sets the maximum number of hierarchy levels allowed in clustering.setAtomCountUpperBound
(int atomCountUpperBound) Sets the maximum structure size for pairwise mcs search.setAtomTypeMatch
(boolean b) Sets the matching mode for atom types.setBondTypeMatch
(boolean b) Sets the matching mode for bond types.setChargeMatch
(boolean b) Sets the matching mode for atom formal charges.setIsotopeMatch
(boolean b) Sets the matching mode for isotopes.setKeepRings
(boolean keepRings) Sets whether rings should be kept or they can be broken.setMCSMode
(SearchMode mode) Sets MCS search strategy.setMinimumMCSSize
(int mcsSize) Sets the minimum size of any MCS found.setRadicalMatch
(boolean b) Sets the matching mode for radicals on atoms.setRequiredClusterCount
(int requiredClusterCount) Sets the minimal number of clusters required on the top level of hierarchy.
-
Method Details
-
setAllowedLevelCount
Sets the maximum number of hierarchy levels allowed in clustering. Clustering terminates when the hierarchy has this many levels.- Parameters:
allowedLevelCount
- number of hierarchy levels allowed (tree depth)- Returns:
- Reference to
this
instance
-
getAllowedLevelCount
int getAllowedLevelCount() -
setAtomCountUpperBound
Sets the maximum structure size for pairwise mcs search. Structures above this size are not selected for a pair-wise mcs search. This limit has strong effect on the results as well as on the total running time. MCS search for larger structure (e.g. above 40 atoms) can be slow.- Returns:
- Reference to
this
instance
-
getAtomCountUpperBound
int getAtomCountUpperBound() -
setMCSMode
Sets MCS search strategy. Allowed values are NORMAL or FAST (default).- Parameters:
mode
- mode flag- Returns:
- Reference to
this
instance
-
getMCSMode
SearchMode getMCSMode() -
setMinimumMCSSize
Sets the minimum size of any MCS found. MCSs below this size limit are ignored.- Parameters:
mcsSize
- minimum required size of any MCS- Returns:
- Reference to
this
instance
-
getMinimumMCSSize
int getMinimumMCSSize() -
setKeepRings
Sets whether rings should be kept or they can be broken.- Parameters:
keepRings
- false if rings can be broken.- Returns:
- Reference to
this
instance
-
getKeepRings
boolean getKeepRings() -
setAtomTypeMatch
Sets the matching mode for atom types. Atom types can either be considered (checked) or ignored when two molecules are searched for an MCS.- Parameters:
b
- flags if atom types are considered (true) or ignored (false)- Returns:
- Reference to
this
instance
-
getAtomTypeMatch
boolean getAtomTypeMatch() -
setBondTypeMatch
Sets the matching mode for bond types. Bond types can either be considered (checked) or ignored when two molecules are searched for an MCS.- Parameters:
b
- flags if bond types are considered (true) or ignored (false)- Returns:
- Reference to
this
instance
-
getBondTypeMatch
boolean getBondTypeMatch() -
setChargeMatch
Sets the matching mode for atom formal charges. Charges can either be considered (checked) or ignored when two molecules are searched for an MCS.- Parameters:
b
- flags if atom charges are considered (true) or ignored (false)- Returns:
- Reference to
this
instance
-
getChargeMatch
boolean getChargeMatch() -
setRadicalMatch
Sets the matching mode for radicals on atoms. Radicals can either be considered (checked) or ignored when two molecules are searched for an MCS.- Parameters:
b
- flags if atom radicals are considered (true) or ignored (false)- Returns:
- Reference to
this
instance
-
getRadicalMatch
boolean getRadicalMatch() -
setIsotopeMatch
Sets the matching mode for isotopes. Isotopes can either be considered (checked) or ignored when two molecules are searched for an MCS.- Parameters:
b
- flags if atom isotopes are considered (true) or ignored (false)- Returns:
- Reference to
this
instance
-
getIsotopeMatch
boolean getIsotopeMatch() -
setRequiredClusterCount
Sets the minimal number of clusters required on the top level of hierarchy. Search terminates if there is the number of clusters on the highest level of the hierarchy is less than this limit.- Parameters:
requiredClusterCount
- number of top level clusters- Returns:
- Reference to
this
instance
-
getRequiredClusterCount
int getRequiredClusterCount()
-