 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
11 #ifndef _RD_FRAG_CAT_PARAMS_H_
12 #define _RD_FRAG_CAT_PARAMS_H_
17 #include <boost/shared_ptr.hpp>
29 d_typeStr =
"Fragment Catalog Parameters";
44 const std::string &fgroupFile,
double tol = 1e-08);
69 return static_cast<unsigned int>(d_funcGroups.size());
76 const ROMol *getFuncGroup(
unsigned int fid)
const;
79 std::string Serialize()
const;
80 void initFromStream(std::istream &ss);
81 void initFromString(
const std::string &text);
84 unsigned int d_lowerFragLen;
85 unsigned int d_upperFragLen;
double getTolerance() const
returns our fragment-comparison tolerance
RDKIT_CHEMREACTIONS_EXPORT void pickle(const boost::shared_ptr< EnumerationStrategyBase > &enumerator, std::ostream &ss)
pickles a EnumerationStrategy and adds the results to a stream ss
void setTolerance(double val)
sets our fragment-comparison tolerance
container for user parameters used to create a fragment catalog
void setUpperFragLength(unsigned int uFrLen)
sets our upper fragment length
std::vector< boost::shared_ptr< ROMol > > MOL_SPTR_VECT
void setLowerFragLength(unsigned int lFrLen)
sets our lower fragment length
abstract base class for the container used to create a catalog
unsigned int getUpperFragLength() const
returns our upper fragment length
unsigned int getLowerFragLength() const
returns our lower fragment length
RDKIT_RDGENERAL_EXPORT std::ostream & toStream(std::ostream &)
unsigned int getNumFuncGroups() const
returns our number of functional groups
#define RDKIT_FRAGCATALOG_EXPORT