OpenChemLib JS
    Preparing search index...

    Class SSSearcherWithIndex

    Fast substructure search with index filtering.

    Index

    Constructors

    Methods

    • Set the fragment to search.

      Parameters

      • fragment: Molecule

        Molecule instance to set as fragment. It has to be flagged with setFragment(true) first.

      • Optionalindex: number[]

        If the index for this fragment was computed previously, it can be provided here to save time.

      Returns void

    • Set the target molecule in which the search will be done.

      Parameters

      • molecule: Molecule

        Molecule instance to set as target molecule.

      • Optionalindex: number[]

        If the index for this fragment was computed previously, it can be provided here to save time.

      Returns void