|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.sss.search.SearchOptions
chemaxon.sss.search.MolSearchOptions
Class to encapsulate search parameters used by MolSearch.
| Field Summary |
| Fields inherited from class chemaxon.sss.search.SearchOptions |
dirty, options, verbose |
| Constructor Summary | |
MolSearchOptions()
|
|
| Method Summary | |
java.lang.Object |
clone()
Makes an identical copy of this SearchObject. |
void |
clonecopy(SearchOptions other)
Copies parameters to other.
|
void |
deepCopy(SearchOptions other)
Deprecated. since 5.0.2 Please use clonecopy(SearchOptions) instead |
int |
getExhaustiveModeLimit()
Upon reaching this number of steps, the search switches to exhaustive mode from fast mode. |
int |
getMarkushArom()
|
java.lang.String |
getOption(java.lang.String name)
Returns search option value in string format. |
int |
getTimeoutLimit()
The search timeouts reaching this number of steps. |
boolean |
isHitIncludesRNodes()
Specifies the result format for R-group queries. |
boolean |
isMarkushEnabled()
|
boolean |
isMarkushHitSupergraph()
|
boolean |
isQueryAbsoluteStereo()
Returns whether the chiral flag is ignored or not for the query molecule. |
boolean |
isSubgraphSearch()
Returns the subgraph matching option. |
boolean |
isTargetAbsoluteStereo()
Returns whether the chiral flag is ignored or not for the target molecule. |
void |
setExhaustiveModeLimit(int value)
Upon reaching this number of steps, the search switches to exhaustive mode from fast mode. |
void |
setHitIncludesRNodes(boolean value)
Specifies the result format for R-group queries. |
void |
setMarkushArom(int value)
Default is MARKUSH_AROM_FINAL_CHECK (consider Markush aromatization during Markush search and check the hit afterwards). |
void |
setMarkushEnabled(boolean value)
|
void |
setMarkushHitSupergraph(boolean value)
|
void |
setOption(int option,
int value)
Deprecated. Since 5.0 Use setters instead. setMarkushHitSupergraph(boolean), setMarkushEnabled(boolean), setMarkushArom(int) |
void |
setOption(java.lang.String name,
java.lang.String value)
Sets search options. |
void |
setQueryAbsoluteStereo(boolean value)
Sets whether the chiral flag should be ignored or not for the query molecule. |
void |
setSubgraphSearch(boolean value)
Specifies the matching mode for topology search |
void |
setTargetAbsoluteStereo(boolean value)
Sets whether the chiral flag should be ignored or not for the target molecule. |
void |
setTimeoutLimit(int value)
The search timeouts reaching this number of steps. |
java.util.ArrayList |
toList()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MolSearchOptions()
| Method Detail |
public boolean isQueryAbsoluteStereo()
true, if chiral centers in the query molecule are
regarded as absolute stereo, ignoring the chiral flag. If the
molecule contains any enhanced stereo labels, this flag has no
effect.public void setQueryAbsoluteStereo(boolean value)
value - if true, chiral centers in the query molecule
are regarded as absolute stereo, ignoring the chiral flag. If
the molecule contains any enhanced stereo labels, this flag
has no effect.public boolean isTargetAbsoluteStereo()
true, if chiral centers in the target molecule
are regarded as absolute stereo, ignoring the chiral flag. If the
molecule contains any enhanced stereo labels, this flag has no
effect.public void setTargetAbsoluteStereo(boolean value)
value - if true, chiral centers in the target molecule
are regarded as absolute stereo, ignoring the chiral flag. If
the molecule contains any enhanced stereo labels, this flag
has no effect.public boolean isHitIncludesRNodes()
false,
the hits will contain only the matching atom indexes for non-R-group
atoms in the root structure, in order (default). In this case the hit
list contains less indexes, than the number of nodes in the root
structure. true, the hit list will contain placeholders
for the R-nodes with the value of SearchConstants.R_NODE_PLACEHOLDER, thus
maintaining root indexes in the result.
public void setHitIncludesRNodes(boolean value)
value - if set to false, the hits will contain only
the matching atom indexes for non-R-group atoms in the root
structure, in order (default). In this case the hit list
contains less indexes, than the number of nodes in the root
structure. true, the hit list will contain
placeholders for the R-nodes with the value of
SearchConstants.R_NODE_PLACEHOLDER, thus maintaining root indexes in
the result.public boolean isSubgraphSearch()
isSubgraphSearch in class SearchOptionspublic void setSubgraphSearch(boolean value)
setSubgraphSearch in class SearchOptionsvalue - true for substructure search, false for exact structure search
matchingpublic boolean isMarkushHitSupergraph()
public void setMarkushHitSupergraph(boolean value)
value - true, if search should return hit indices
of the supergraph representation of a Markush target
(instead of the original Markush target).public boolean isMarkushEnabled()
public void setMarkushEnabled(boolean value)
value - true, if a target containing Markush features
should be treated as Markush librarypublic int getMarkushArom()
SearchConstants.MARKUSH_AROM_FINAL_CHECK,
SearchConstants.MARKUSH_AROM_NO_FINAL_CHECK,
SearchConstants.MARKUSH_AROM_OFFpublic void setMarkushArom(int value)
value - the desired Markush aromatic search optionSearchConstants.MARKUSH_AROM_FINAL_CHECK,
SearchConstants.MARKUSH_AROM_NO_FINAL_CHECK,
SearchConstants.MARKUSH_AROM_OFFpublic int getExhaustiveModeLimit()
setExhaustiveModeLimit(int)public void setExhaustiveModeLimit(int value)
value - Set it to -1 if you do not want to
switch to exhaustive mode. Set it to 0 if you want to use
exhaustive mode only.public int getTimeoutLimit()
setTimeoutLimit(int)public void setTimeoutLimit(int value)
value - The step limit to set.
public void setOption(int option,
int value)
setOption in class SearchOptionsoption - Option identifier to be set.value - Value of option to be set.SearchConstants.OPTION_MARKUSH_HIT,
SearchConstants.OPTION_MARKUSH_ENABLED,
SearchConstants.OPTION_MARKUSH_AROM
public void setOption(java.lang.String name,
java.lang.String value)
setOption in class SearchOptionsname - Option name to be set.
Useable options:
value - String value of option to be set.SearchOptions.setOption(String, String),
getOption(String)public java.lang.String getOption(java.lang.String name)
getOption in class SearchOptionsname - Option name to get.
Useable options:
SearchOptions.getOption(String),
setOption(String, String)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
SearchOptions
clone in class SearchOptionsjava.lang.CloneNotSupportedExceptionpublic void clonecopy(SearchOptions other)
other.
It copies
other is a MolSearchOptions object
clonecopy in class SearchOptionspublic void deepCopy(SearchOptions other)
clonecopy(SearchOptions) instead
deepCopy in class SearchOptionspublic java.util.ArrayList toList()
toList in class SearchOptionsSearchOptions.setOptions(String),
SearchOptions.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||