RDKit
Open-source cheminformatics and machine learning.
|
container for user parameters used to create a fragment catalog More...
#include <FragCatParams.h>
Public Member Functions | |
FragCatParams () | |
FragCatParams (unsigned int lLen, unsigned int uLen, const std::string &fgroupFile, double tol=1e-08) | |
construct from a function-group file | |
FragCatParams (const FragCatParams &other) | |
copy constructor | |
FragCatParams (const std::string &pickle) | |
construct from a pickle string (serialized representation) | |
~FragCatParams () override | |
unsigned int | getLowerFragLength () const |
returns our lower fragment length | |
void | setLowerFragLength (unsigned int lFrLen) |
sets our lower fragment length | |
unsigned int | getUpperFragLength () const |
returns our upper fragment length | |
void | setUpperFragLength (unsigned int uFrLen) |
sets our upper fragment length | |
double | getTolerance () const |
returns our fragment-comparison tolerance | |
void | setTolerance (double val) |
sets our fragment-comparison tolerance | |
unsigned int | getNumFuncGroups () const |
returns our number of functional groups | |
const MOL_SPTR_VECT & | getFuncGroups () const |
returns our std::vector of functional groups | |
const ROMol * | getFuncGroup (unsigned int fid) const |
returns a pointer to a specific functional group | |
void | toStream (std::ostream &) const override |
serializes (pickles) to a stream | |
std::string | Serialize () const override |
returns a string with a serialized (pickled) representation | |
void | initFromStream (std::istream &ss) override |
initializes from a stream pickle | |
void | initFromString (const std::string &text) override |
initializes from a string pickle | |
Public Member Functions inherited from RDCatalog::CatalogParams | |
virtual | ~CatalogParams ()=0 |
std::string | getTypeStr () const |
returns our type string | |
void | setTypeStr (const std::string &typeStr) |
sets our type string | |
Additional Inherited Members | |
Protected Attributes inherited from RDCatalog::CatalogParams | |
std::string | d_typeStr |
our type string | |
container for user parameters used to create a fragment catalog
Definition at line 24 of file FragCatParams.h.
|
inline |
Definition at line 28 of file FragCatParams.h.
RDKit::FragCatParams::FragCatParams | ( | unsigned int | lLen, |
unsigned int | uLen, | ||
const std::string & | fgroupFile, | ||
double | tol = 1e-08 |
||
) |
construct from a function-group file
lLen | the lower limit on fragment size |
uLen | the upper limit on fragment size |
fgroupFile | the name of the function-group file |
tol | (optional) the eigenvalue tolerance to be used when comparing fragments |
RDKit::FragCatParams::FragCatParams | ( | const FragCatParams & | other | ) |
copy constructor
RDKit::FragCatParams::FragCatParams | ( | const std::string & | pickle | ) |
construct from a pickle string (serialized representation)
|
override |
returns a pointer to a specific functional group
const MOL_SPTR_VECT & RDKit::FragCatParams::getFuncGroups | ( | ) | const |
returns our std::vector of functional groups
returns our lower fragment length
Definition at line 53 of file FragCatParams.h.
returns our number of functional groups
Definition at line 68 of file FragCatParams.h.
|
inline |
returns our fragment-comparison tolerance
Definition at line 63 of file FragCatParams.h.
returns our upper fragment length
Definition at line 58 of file FragCatParams.h.
|
overridevirtual |
initializes from a stream pickle
Implements RDCatalog::CatalogParams.
initializes from a string pickle
Implements RDCatalog::CatalogParams.
|
overridevirtual |
returns a string with a serialized (pickled) representation
Implements RDCatalog::CatalogParams.
sets our lower fragment length
Definition at line 55 of file FragCatParams.h.
sets our fragment-comparison tolerance
Definition at line 65 of file FragCatParams.h.
sets our upper fragment length
Definition at line 60 of file FragCatParams.h.
|
overridevirtual |
serializes (pickles) to a stream
Implements RDCatalog::CatalogParams.