29 #ifndef CDPL_PHARM_INTERACTIONANALYZER_HPP
30 #define CDPL_PHARM_INTERACTIONANALYZER_HPP
46 class FeatureContainer;
123 typedef std::pair<unsigned int, unsigned int> FeatureTypePair;
124 typedef std::map<FeatureTypePair, ConstraintFunction> ConstraintFunctionMap;
126 ConstraintFunctionMap constraintFuncMap;
Definition of the type CDPL::Pharm::FeatureMapping.
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Abstract base class for containers holding a sequence of Pharm::Feature objects with associated prope...
Definition: FeatureContainer.hpp:55
Data type for the storage and lookup of arbitrary feature to feature mappings.
Definition: FeatureMapping.hpp:54
Abstract base class representing a single pharmacophore feature within a parent Pharm::Pharmacophore.
Definition: Feature.hpp:48
Analyzer that detects pairwise interactions between features of two Pharm::FeatureContainer instances...
Definition: InteractionAnalyzer.hpp:58
void analyze(const FeatureContainer &cntnr1, const FeatureContainer &cntnr2, FeatureMapping &iactions, bool append=false) const
Analyzes possible interactions of the features in feature container cntnr1 and with features of cntnr...
InteractionAnalyzer()
Constructs the InteractionAnalyzer instance.
Definition: InteractionAnalyzer.hpp:69
virtual ~InteractionAnalyzer()
Virtual destructor.
Definition: InteractionAnalyzer.hpp:74
void removeConstraintFunction(unsigned int type1, unsigned type2)
Removes the constraint check function that was registered for the specified pair of feature types.
std::function< bool(const Feature &, const Feature &)> ConstraintFunction
Generic wrapper class used to store feature interaction constraint test functions.
Definition: InteractionAnalyzer.hpp:64
const ConstraintFunction & getConstraintFunction(unsigned int type1, unsigned type2) const
Returns the constraint check function that was registered for the specified pair of feature types.
void setConstraintFunction(unsigned int type1, unsigned type2, const ConstraintFunction &func)
Specifies a function that gets used for checking whether all constraints are actually fulfilled for a...
The namespace of the Chemical Data Processing Library.