Package com.chemaxon.search
Class SimpleSearcherFactory
java.lang.Object
com.chemaxon.search.SimpleSearcherFactory
Factory for creating
SimpleSearcher instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleSearcherCreates a searcher that considers aromatization differences of the input molecule.static SimpleSearchercreateAromatizedSearcher(AromatizationMethod method, MolSearchOptions searchOptions) Creates a searcher which considers aromatization according to the specified rules and initializes it with the specified search options.static SimpleSearchercreateSearcher(Transformer transformer, MolSearchOptions searchOptions) Constructs a searcher with the specified parameters.static SimpleSearcherCreates a searcher that does not handle aromatization.static SimpleSearchercreateSearcherWithoutAromatization(MolSearchOptions searchOptions) Creates a searcher that doesn't consider aromatization.static SimpleSearchercreateSearcherWithoutAromatization(SimpleSearcher otherSearcher, MolSearchOptions searchOptions) Creates a searcher with the specified search options, other parameters (query, target, etc.) are copied from the specified searcher if possible (in case ofBaseMolSearch).
-
Constructor Details
-
SimpleSearcherFactory
public SimpleSearcherFactory()
-
-
Method Details
-
createSearcher
public static SimpleSearcher createSearcher(Transformer transformer, MolSearchOptions searchOptions) Constructs a searcher with the specified parameters.- Parameters:
transformer- the user supplied transformation which will be applied to both target and query.searchOptions- the search options- Returns:
- the searcher
-
createSearcherWithoutAromatization
Creates a searcher that does not handle aromatization.- Returns:
- the created searcher object
-
createAromatizedSearcher
Creates a searcher that considers aromatization differences of the input molecule.- Parameters:
method-AromatizationMethodto be used- Returns:
- the created searcher object
-
createSearcherWithoutAromatization
Creates a searcher that doesn't consider aromatization. The searcher is initialized with the specified options.- Parameters:
searchOptions-MolSearchOptionsto be used- Returns:
- the created searcher object
-
createAromatizedSearcher
public static SimpleSearcher createAromatizedSearcher(AromatizationMethod method, MolSearchOptions searchOptions) Creates a searcher which considers aromatization according to the specified rules and initializes it with the specified search options.- Parameters:
method-AromatizationMethodto be usedsearchOptions-MolSearchOptionsto be used- Returns:
- the created searcher object
-
createSearcherWithoutAromatization
public static SimpleSearcher createSearcherWithoutAromatization(SimpleSearcher otherSearcher, MolSearchOptions searchOptions) Creates a searcher with the specified search options, other parameters (query, target, etc.) are copied from the specified searcher if possible (in case ofBaseMolSearch).- Parameters:
otherSearcher- other searcher from which parameters are copiedsearchOptions-MolSearchOptionsto be used- Returns:
- the created searcher object
-