LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
Evaluator abstract class to evaluate figure of merit for a net in a CBC way. More...
#include <FigureOfMerit.h>
Inherits NetBuilder::FigureOfMerit::FigureOfMeritEvaluator.
Inherited by NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< PROJDEP >, NetBuilder::FigureOfMerit::WeightedFigureOfMerit< PROJDEP >::WeightedFigureOfMeritEvaluator<>, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::MULTILEVEL, GaussMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::MULTILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::UNILEVEL, GaussMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::UNILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::MULTILEVEL, GaussMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::MULTILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::UNILEVEL, GaussMethod > >, and NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::UNILEVEL, SchmidMethod > >.
Public Member Functions | |
virtual MeritValue | operator() (const DigitalNet &net, int verbose=0) override |
inheritDoc} | |
virtual MeritValue | operator() (const DigitalNet &net, Dimension dimension, MeritValue initialValue, int verbose=0)=0 |
Computes the figure of merit for the given net for the given dimension (partial computation), starting from the initial value initialValue . More... | |
virtual void | prepareForNextDimension ()=0 |
Tells the evaluator that no more net will be evaluate for the current dimension, store information about the best net for the dimension which is over and prepare data structures for the next dimension. | |
virtual void | lastNetWasBest ()=0 |
Tells the evaluator that the last net was the best so far and store the relevant information. | |
Public Member Functions inherited from NetBuilder::FigureOfMerit::FigureOfMeritEvaluator | |
virtual | ~FigureOfMeritEvaluator ()=default |
Default virtual destructor. | |
FigureOfMeritEvaluator () | |
Constructor. | |
virtual void | reset ()=0 |
Resets the evaluator and prepare it to evaluate a new net. | |
OnProgress & | onProgress () const |
Progress signal. More... | |
OnAbort & | onAbort () const |
Abort signal. More... | |
Additional Inherited Members | |
Public Types inherited from NetBuilder::FigureOfMerit::FigureOfMeritEvaluator | |
typedef boost::signals2::signal< bool(const MeritValue &), LatBuilder::Functor::AllOf > | OnProgress |
typedef boost::signals2::signal< void(const DigitalNet &)> | OnAbort |
Evaluator abstract class to evaluate figure of merit for a net in a CBC way.
|
pure virtual |
Computes the figure of merit for the given net
for the given dimension
(partial computation), starting from the initial value initialValue
.
Intended to be specialized based on template parameter ET.
net | Net to evaluate. |
dimension | Dimension to compute. |
initialValue | Initial value of the merit. |
verbose | Verbosity level. |
Implemented in NetBuilder::FigureOfMerit::WeightedFigureOfMerit< PROJDEP >::WeightedFigureOfMeritEvaluator<>, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< PROJDEP >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::UNILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::UNILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::MULTILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::UNILEVEL, GaussMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::MULTILEVEL, GaussMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::MULTILEVEL, SchmidMethod > >, NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueProjMerit< EmbeddingType::UNILEVEL, GaussMethod > >, and NetBuilder::FigureOfMerit::ProjectionDependentEvaluator< TValueTransformedProjMerit< EmbeddingType::MULTILEVEL, GaussMethod > >.