Class SimpleSearcherFactory

    • Constructor Detail

      • SimpleSearcherFactory

        public SimpleSearcherFactory()
    • Method Detail

      • 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

        public static SimpleSearcher createSearcherWithoutAromatization()
        Creates a searcher that does not handle aromatization.
        Returns:
        the created searcher object
      • createAromatizedSearcher

        public static SimpleSearcher createAromatizedSearcher​(com.chemaxon.search.AromatizationMethod method)
        Creates a searcher that considers aromatization differences of the input molecule.
        Parameters:
        method - AromatizationMethod to be used
        Returns:
        the created searcher object
      • createSearcherWithoutAromatization

        public static SimpleSearcher createSearcherWithoutAromatization​(MolSearchOptions searchOptions)
        Creates a searcher that doesn't consider aromatization. The searcher is initialized with the specified options.
        Parameters:
        searchOptions - MolSearchOptions to be used
        Returns:
        the created searcher object
      • createAromatizedSearcher

        public static SimpleSearcher createAromatizedSearcher​(com.chemaxon.search.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 - AromatizationMethod to be used
        searchOptions - MolSearchOptions to 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 of BaseMolSearch).
        Parameters:
        otherSearcher - other searcher from which parameters are copied
        searchOptions - MolSearchOptions to be used
        Returns:
        the created searcher object