#include <GlareAlgorithmGoodHit.h>
Inheritance diagram for GlareAlgorithmGoodHit:
Public Methods | |
GlareAlgorithmGoodHit (float p_first_fraction_to_keep=0.75) | |
virtual bool | isOptimized (void) |
virtual void | evaluateGoodness (void) |
virtual void | pruneDimensions (void) |
virtual void | resetIterationCounter (void) |
virtual std::ostream & | getTrace (std::ostream &p_ostream) |
float | getFractionGoodHit (void) |
void | setFractionGoodHitThreshold (float p_fraction) |
float | getFractionGoodHitThreshold (void) const |
void | setMaximumIterationThreshold (int p_limit) |
int | getMaximumIterationThreshold (void) const |
unsigned long int | getNumberInitialGoodHit (void) const |
unsigned long int | getNumberEvaluated (void) const |
unsigned long int | getNumberInitialEvaluated (void) const |
unsigned long int | getNumberGoodHit (void) const |
void | setDoScaleWithSize (bool p_do_scale) |
void | setScaleWithSizeParam (float p_scale_param) |
void | setPruneZeroOccurence (bool p_prune_zero_occurence) |
void | setGoodnessRule (GoodnessRule p_goodness_rule) |
|
Constructor.
|
|
Score every Fragment of the LibrarySets given to this class. By product properties such as the goodness are calculated. Each time this method is called, it is considered as an additional iteration. Implements GlareAlgorithm. |
|
Returns the goodness of the LibrarySets used in the optimization. |
|
Return the goodnes targeted during the optimization. |
|
Return the maximum number of iterations to perform. This is a stop criteria. |
|
Return the number of products evaluated in method evaluateGoodness(). |
|
Return the number of 'good' products found in the last call to evaluateGoodness() method. |
|
Return the number of products evaluated at the first iteration (before any pruning occured). |
|
Return the number of 'good' products found in the first evaluation. |
|
Prints to the passed stream the trace that defined the current status of the optimization. Implements GlareAlgorithm. |
|
Return 'true' when one of the stop criteria is met. Implements GlareAlgorithm. |
|
Reject Fragments that are identified as non-viable. The normal sequence is to call: evaluateGoodness(), pruneDimensions(), isOptimized() and looping until isOptimized() returns 'true'. Implements GlareAlgorithm. |
|
Set to zero the internal iteration counter. |
|
Tell the algorithm if the scaled pruning needs to be used. |
|
Sets the goodness targeted during the optimization. This constitutes a stop criteria. |
|
Associate a GoodnessRule object that will be used to assess the goodness of each product. |
|
Set the maximum number of iterations to perform. Any additional step is not performs as this constitutes a stop criteria. |
|
Tell the algorithm if only the Fragment with a zero occurence counter are rejected at first iteration. |
|
Set the exponential pre-factor for the scaled pruning. However the method setDoScaleWithSize() must be called if the scale pruning is to be used. |