#include <GoodnessRule.h>
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 |
|
Default constructor. |
|
Default destructor. |
|
Add a minimum and a maximum for a new property. When the rule is applied, it is following the order this function was called. |
|
Given a CompositeFragment object, it returns an analyzed goodness (argument). |
|
Return 'true' if the CompositeFragment product follows the rule. |
|
Empty the list of minmax for each property. |