RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher Class Reference

#include <SynthonSpaceSubstructureSearcher.h>

Inheritance diagram for RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher:
RDKit::SynthonSpaceSearch::SynthonSpaceSearcher

Public Member Functions

 SynthonSpaceSubstructureSearcher ()=delete
 SynthonSpaceSubstructureSearcher (const ROMol &query, const SubstructMatchParameters &matchParams, const SynthonSpaceSearchParams &params, SynthonSpace *space)
std::vector< std::unique_ptr< SynthonSpaceHitSet > > searchFragSet (const std::vector< std::shared_ptr< ROMol > > &fragSet, const SynthonSet &reaction) const override
bool verifyHit (ROMol &hit, const std::string &rxnId, const std::vector< const std::string * > &synthNames) override
Public Member Functions inherited from RDKit::SynthonSpaceSearch::SynthonSpaceSearcher
 SynthonSpaceSearcher ()=delete
 SynthonSpaceSearcher (const ROMol &query, const SynthonSpaceSearchParams &params, SynthonSpace *space)
 SynthonSpaceSearcher (const SynthonSpaceSearcher &other)=delete
 SynthonSpaceSearcher (SynthonSpaceSearcher &&other)=delete
SynthonSpaceSearcher & operator= (const SynthonSpaceSearcher &other)=delete
SynthonSpaceSearcher & operator= (SynthonSpaceSearcher &&other)=delete
virtual ~SynthonSpaceSearcher ()=default
SearchResults search (ThreadMode threadMode)
void search (const SearchResultCallback &cb, ThreadMode threadMode)
SearchResults checkPossibleHits (std::uint64_t startLine, std::uint64_t finishLine)
SynthonSpace * getSpace () const
const ROMol & getQuery () const
const SynthonSpaceSearchParams & getParams () const
std::unique_ptr< ROMol > buildAndVerifyHit (const SynthonSpaceHitSet *hitset, const std::vector< size_t > &synthNums)

Protected Member Functions

double approxSimilarity (const SynthonSpaceHitSet *hitset, const std::vector< size_t > &synthNums) const override
Protected Member Functions inherited from RDKit::SynthonSpaceSearch::SynthonSpaceSearcher
virtual std::unique_ptr< ROMol > buildHit (const SynthonSpaceHitSet *hitset, const std::vector< size_t > &synthNums, std::vector< const std::string * > &synthNames) const
virtual bool quickVerify (const SynthonSpaceHitSet *hitset, const std::vector< size_t > &synthNums) const
void updateBestHitSoFar (const ROMol &possBest, double sim)
double getBestSimilaritySoFar () const
void makeHitsFromToTry (const std::vector< std::pair< const SynthonSpaceHitSet *, std::vector< size_t > > > &toTry, const TimePoint *endTime, std::vector< std::unique_ptr< ROMol > > &results, std::atomic< std::int64_t > &numHitsFound, std::uint64_t &numPossHitsWritten)

Additional Inherited Members

Protected Attributes inherited from RDKit::SynthonSpaceSearch::SynthonSpaceSearcher
FragSetUniquifyMode d_fragSetUniquifyMode {FragSetUniquifyMode::BySmiles}

Detailed Description

Definition at line 24 of file SynthonSpaceSubstructureSearcher.h.

Constructor & Destructor Documentation

◆ SynthonSpaceSubstructureSearcher() [1/2]

RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher::SynthonSpaceSubstructureSearcher ( )
delete

◆ SynthonSpaceSubstructureSearcher() [2/2]

RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher::SynthonSpaceSubstructureSearcher ( const ROMol & query,
const SubstructMatchParameters & matchParams,
const SynthonSpaceSearchParams & params,
SynthonSpace * space )
inline

Member Function Documentation

◆ approxSimilarity()

double RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher::approxSimilarity ( const SynthonSpaceHitSet * hitset,
const std::vector< size_t > & synthNums ) const
overrideprotectedvirtual

◆ searchFragSet()

std::vector< std::unique_ptr< SynthonSpaceHitSet > > RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher::searchFragSet ( const std::vector< std::shared_ptr< ROMol > > & fragSet,
const SynthonSet & reaction ) const
overridevirtual

◆ verifyHit()

bool RDKit::SynthonSpaceSearch::SynthonSpaceSubstructureSearcher::verifyHit ( ROMol & hit,
const std::string & rxnId,
const std::vector< const std::string * > & synthNames )
overridevirtual

The documentation for this class was generated from the following file: