Main Page   Class Hierarchy   Compound List   File List   Compound Members  

GoodnessRule Class Reference

#include <GoodnessRule.h>

List of all members.

Public Methods

 GoodnessRule (void)
 ~GoodnessRule ()
void addMinMax (double p_min, double p_max)
void resetMinMax (void)
bool operator() (const CompositeFragment &p_composite_fragment)
void operator() (const CompositeFragment &p_composite_fragment, float &p_goodness) const

Detailed Description

Contain the min max acceptable values for each property to be treated. This instantiate the filtering rule of good compounds.

Constructor & Destructor Documentation

GoodnessRule::GoodnessRule void   

Default constructor.

GoodnessRule::~GoodnessRule   [inline]

Default destructor.

Member Function Documentation

void GoodnessRule::addMinMax double    p_min,
double    p_max

Add a minimum and a maximum for a new property. When the rule is applied, it is following the order this function was called.

void GoodnessRule::operator() const CompositeFragment   p_composite_fragment,
float &    p_goodness

Given a CompositeFragment object, it returns an analyzed goodness (argument).

bool GoodnessRule::operator() const CompositeFragment   p_composite_fragment

Return 'true' if the CompositeFragment product follows the rule.

void GoodnessRule::resetMinMax void   

Empty the list of minmax for each property.

The documentation for this class was generated from the following file:
Generated on Sat Nov 4 15:59:00 2006 for GLARE by doxygen1.2.18