![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <SearchResults.h>
Public Member Functions | |
| SearchResults () | |
| SearchResults (std::vector< std::unique_ptr< ROMol > > &&mols, std::unique_ptr< ROMol > &&bestHit, std::uint64_t maxNumRes, bool timedOut, bool cancelled) | |
| SearchResults (const SearchResults &other) | |
| SearchResults (SearchResults &&other)=default | |
| ~SearchResults ()=default | |
| SearchResults & | operator= (const SearchResults &other) |
| SearchResults & | operator= (SearchResults &&other)=default |
| std::uint64_t | getMaxNumResults () const |
| const std::vector< std::unique_ptr< ROMol > > & | getHitMolecules () const |
| const std::unique_ptr< ROMol > & | getBestHit () const |
| bool | getTimedOut () const |
| bool | getCancelled () const |
| void | mergeResults (SearchResults &other) |
Definition at line 32 of file SearchResults.h.
|
inlineexplicit |
Definition at line 34 of file SearchResults.h.
Referenced by mergeResults(), operator=(), operator=(), SearchResults(), and SearchResults().
| RDKit::SynthonSpaceSearch::SearchResults::SearchResults | ( | std::vector< std::unique_ptr< ROMol > > && | mols, |
| std::unique_ptr< ROMol > && | bestHit, | ||
| std::uint64_t | maxNumRes, | ||
| bool | timedOut, | ||
| bool | cancelled ) |
| RDKit::SynthonSpaceSearch::SearchResults::SearchResults | ( | const SearchResults & | other | ) |
References SearchResults().
|
default |
References SearchResults().
|
default |
|
inline |
Returns the best hit found in a similarity search, even when none were under the search threshold. May be empty, for example if it was a substructure search. Also, may be empty if none of the synthons matched within the fragment similarity threshold i.e. nothing came close to a match.
Definition at line 73 of file SearchResults.h.
|
inline |
Returns whether the search was cancelled or not,
Definition at line 84 of file SearchResults.h.
|
inline |
Returns the hit molecules from the search. Not necessarily all those possible, just the maximum number requested.
Definition at line 60 of file SearchResults.h.
|
inline |
Returns the upper bound on the number of results the search might return. There may be fewer than this in practice for several reasons such as duplicate reagent sets being removed or the final product not matching the query even though the synthons suggested it would.
Definition at line 53 of file SearchResults.h.
|
inline |
Returns whether the search timed out or not,
Definition at line 79 of file SearchResults.h.
| void RDKit::SynthonSpaceSearch::SearchResults::mergeResults | ( | SearchResults & | other | ) |
References SearchResults().
| SearchResults & RDKit::SynthonSpaceSearch::SearchResults::operator= | ( | const SearchResults & | other | ) |
References SearchResults().
|
default |
References SearchResults().