![]() |
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 More... | |
| FragCatParams (const FragCatParams &other) | |
| copy constructor More... | |
| FragCatParams (const std::string &pickle) | |
| construct from a pickle string (serialized representation) More... | |
| ~FragCatParams () override | |
| unsigned int | getLowerFragLength () const |
| returns our lower fragment length More... | |
| void | setLowerFragLength (unsigned int lFrLen) |
| sets our lower fragment length More... | |
| unsigned int | getUpperFragLength () const |
| returns our upper fragment length More... | |
| void | setUpperFragLength (unsigned int uFrLen) |
| sets our upper fragment length More... | |
| double | getTolerance () const |
| returns our fragment-comparison tolerance More... | |
| void | setTolerance (double val) |
| sets our fragment-comparison tolerance More... | |
| unsigned int | getNumFuncGroups () const |
| returns our number of functional groups More... | |
| const MOL_SPTR_VECT & | getFuncGroups () const |
| returns our std::vector of functional groups More... | |
| const ROMol * | getFuncGroup (unsigned int fid) const |
| returns a pointer to a specific functional group More... | |
| void | toStream (std::ostream &) const override |
| serializes (pickles) to a stream More... | |
| std::string | Serialize () const override |
| returns a string with a serialized (pickled) representation More... | |
| void | initFromStream (std::istream &ss) override |
| initializes from a stream pickle More... | |
| void | initFromString (const std::string &text) override |
| initializes from a string pickle More... | |
Public Member Functions inherited from RDCatalog::CatalogParams | |
| virtual | ~CatalogParams ()=0 |
| std::string | getTypeStr () const |
| returns our type string More... | |
| void | setTypeStr (const std::string &typeStr) |
| sets our type string More... | |
| virtual void | toStream (std::ostream &) const =0 |
| serializes (pickles) to a stream More... | |
| virtual std::string | Serialize () const =0 |
| returns a string with a serialized (pickled) representation More... | |
| virtual void | initFromStream (std::istream &ss)=0 |
| initializes from a stream pickle More... | |
| virtual void | initFromString (const std::string &text)=0 |
| initializes from a string pickle More... | |
Additional Inherited Members | |
Protected Attributes inherited from RDCatalog::CatalogParams | |
| std::string | d_typeStr |
| our type string More... | |
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 |
| const ROMol * RDKit::FragCatParams::getFuncGroup | ( | unsigned int | fid | ) | const |
returns a pointer to a specific functional group
| const MOL_SPTR_VECT & RDKit::FragCatParams::getFuncGroups | ( | ) | const |
returns our std::vector of functional groups
|
inline |
returns our lower fragment length
Definition at line 53 of file FragCatParams.h.
|
inline |
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.
|
inline |
returns our upper fragment length
Definition at line 58 of file FragCatParams.h.
|
overridevirtual |
initializes from a stream pickle
Implements RDCatalog::CatalogParams.
|
overridevirtual |
initializes from a string pickle
Implements RDCatalog::CatalogParams.
|
overridevirtual |
returns a string with a serialized (pickled) representation
Implements RDCatalog::CatalogParams.
|
inline |
sets our lower fragment length
Definition at line 55 of file FragCatParams.h.
|
inline |
sets our fragment-comparison tolerance
Definition at line 65 of file FragCatParams.h.
|
inline |
sets our upper fragment length
Definition at line 60 of file FragCatParams.h.
|
overridevirtual |
serializes (pickles) to a stream
Implements RDCatalog::CatalogParams.