RDKit
Open-source cheminformatics and machine learning.
|
#include <Resonance.h>
Public Member Functions | |
ResonanceMolSupplierCallback () | |
virtual | ~ResonanceMolSupplierCallback () |
unsigned int | getNumConjGrps () const |
size_t | getMaxStructures () const |
size_t | getNumStructures (unsigned int conjGrpIdx) const |
size_t | getNumDiverseStructures (unsigned int conjGrpIdx) const |
virtual bool | operator() ()=0 |
Friends | |
class | ResonanceMolSupplier |
Create a derived class from this abstract base class and implement the operator()() method. The operator()() method is called at each iteration of the algorithm, and provides a mechanism to monitor or stop its progress. To have your callback called, pass an instance of your derived class to ResonanceMolSupplier::setProgressCallback().
Definition at line 43 of file Resonance.h.
|
inline |
Definition at line 47 of file Resonance.h.
|
inlinevirtual |
Definition at line 48 of file Resonance.h.
|
inline |
Get the maximum number of resonance structures the supplier is allowed to generate.
Definition at line 55 of file Resonance.h.
Get the number of conjugated groups this molecule has.
Definition at line 50 of file Resonance.h.
size_t RDKit::ResonanceMolSupplierCallback::getNumDiverseStructures | ( | unsigned int | conjGrpIdx | ) | const |
Get the number of resonance structures with a different score (i.e., non-degenerate) generated so far for a certain conjugated group.
conjGrpIdx | the conjugated group index. |
Get the number of resonance structures generated so far for a certain conjugated group.
conjGrpIdx | the conjugated group index. |
Pure virtual; this must be implemented in the derived class.
|
friend |
Definition at line 44 of file Resonance.h.