PatternBasedFeatureGenerator.
More...
#include <PatternBasedFeatureGenerator.hpp>
◆ SharedPointer
◆ AtomList
◆ PatternAtomLabelFlag
Enumerator |
---|
FEATURE_ATOM_FLAG | |
POS_REF_ATOM_FLAG | |
GEOM_REF_ATOM1_FLAG | |
GEOM_REF_ATOM2_FLAG | |
◆ PatternBasedFeatureGenerator() [1/2]
CDPL::Pharm::PatternBasedFeatureGenerator::PatternBasedFeatureGenerator |
( |
| ) |
|
Constructs the PatternBasedFeatureGenerator
instance.
◆ PatternBasedFeatureGenerator() [2/2]
Constructs a copy of the PatternBasedFeatureGenerator
instance gen.
- Parameters
-
gen | The PatternBasedFeatureGenerator instance to copy. |
◆ ~PatternBasedFeatureGenerator()
virtual CDPL::Pharm::PatternBasedFeatureGenerator::~PatternBasedFeatureGenerator |
( |
| ) |
|
|
virtual |
◆ addIncludePattern()
void CDPL::Pharm::PatternBasedFeatureGenerator::addIncludePattern |
( |
const Chem::MolecularGraph::SharedPointer & |
pattern, |
|
|
unsigned int |
type, |
|
|
double |
tol, |
|
|
unsigned int |
geom, |
|
|
double |
length = 1.0 |
|
) |
| |
Appends a new feature include pattern to the current set of patterns.
- Parameters
-
pattern | The substructure search pattern of the feature. |
type | The value of the type property of the feature. |
tol | The value of the tolerance property of the feature. |
geom | The value of the geometry property of the feature. |
length | The value of the length property of vector features. |
◆ addExcludePattern()
Appends a new feature include pattern to the current set of patterns.
- Parameters
-
pattern | The substructure search pattern of the feature. |
◆ clearIncludePatterns()
void CDPL::Pharm::PatternBasedFeatureGenerator::clearIncludePatterns |
( |
| ) |
|
Clears the current set of include patterns.
◆ clearExcludePatterns()
void CDPL::Pharm::PatternBasedFeatureGenerator::clearExcludePatterns |
( |
| ) |
|
Clears the current set of exclude patterns.
◆ generate()
Perceives pharmacophore features according to the specified include/exclude patterns and adds them to the pharmacophore pharm.
- Parameters
-
molgraph | The molecular graph for which to perceive the features. |
pharm | The output pharmacophore where to add the generated features. |
Implements CDPL::Pharm::FeatureGenerator.
◆ operator=()
Replaces the current set include/exclude patterns by the patterns in the PatternBasedFeatureGenerator
instance gen.
- Parameters
-
gen | The PatternBasedFeatureGenerator instance providing the new patterns to use. |
- Returns
- A reference to itself.
◆ clone()
◆ calcVecFeatureOrientation()
◆ calcPlaneFeatureOrientation()
◆ calcCentroid()
◆ addNonPatternFeatures()
◆ isContainedInIncMatchList()
bool CDPL::Pharm::PatternBasedFeatureGenerator::isContainedInIncMatchList |
( |
const Util::BitSet & |
| ) |
const |
|
protected |
◆ isContainedInExMatchList()
bool CDPL::Pharm::PatternBasedFeatureGenerator::isContainedInExMatchList |
( |
const Util::BitSet & |
| ) |
const |
|
protected |
The documentation for this class was generated from the following file: