RDKit
Open-source cheminformatics and machine learning.
|
abstract base class for the a molecule enumeration operation More...
#include <MolEnumerator.h>
Public Member Functions | |
MolEnumeratorOp () | |
virtual | ~MolEnumeratorOp () |
virtual std::vector< size_t > | getVariationCounts () const =0 |
virtual std::unique_ptr< ROMol > | operator() (const std::vector< size_t > &which) const =0 |
returns a the molecule corresponding to a particular variation | |
virtual void | initFromMol (const ROMol &mol)=0 |
initializes this operation to work on a particular molecule | |
virtual std::unique_ptr< MolEnumeratorOp > | copy () const =0 |
polymorphic copy | |
abstract base class for the a molecule enumeration operation
Definition at line 34 of file MolEnumerator.h.
|
inline |
Definition at line 36 of file MolEnumerator.h.
|
inlinevirtual |
Definition at line 37 of file MolEnumerator.h.
|
pure virtual |
polymorphic copy
Implemented in RDKit::MolEnumerator::PositionVariationOp, RDKit::MolEnumerator::LinkNodeOp, and RDKit::MolEnumerator::RepeatUnitOp.
|
pure virtual |
returns a vector of the number of possible variations at variability point covered by this operation
Implemented in RDKit::MolEnumerator::PositionVariationOp, RDKit::MolEnumerator::LinkNodeOp, and RDKit::MolEnumerator::RepeatUnitOp.
initializes this operation to work on a particular molecule
Implemented in RDKit::MolEnumerator::PositionVariationOp, RDKit::MolEnumerator::LinkNodeOp, and RDKit::MolEnumerator::RepeatUnitOp.
|
pure virtual |
returns a the molecule corresponding to a particular variation
which.size() should be equal to the number of variation counts.
Implemented in RDKit::MolEnumerator::PositionVariationOp, RDKit::MolEnumerator::LinkNodeOp, and RDKit::MolEnumerator::RepeatUnitOp.