LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
Class which represents a weighted figure of merit based on a projection dependent merit whose type is the template parameter. More...
#include <WeightedFigureOfMerit.h>
Inherits NetBuilder::FigureOfMerit::CBCFigureOfMerit.
Classes | |
class | WeightedFigureOfMeritEvaluator |
Template specialization of the evaluator for the weighted figure of merit based on the t-value projection-dependent merit in the case of unilevel nets. More... |
Public Member Functions | |
WeightedFigureOfMerit (Real normType, std::unique_ptr< LatticeTester::Weights > weights, std::unique_ptr< PROJDEP > projDepMerit) | |
Constructs a weigthed figure of merit based on the given arguments. | |
const LatticeTester::Weights & | weights () const |
Returns the weights of the figure. | |
PROJDEP & | projDepMerit () const |
Returns the projection-dependent merit of the figure. | |
Real | normType () const |
Returns the norm type of the figure . | |
virtual Accumulator | accumulator (Real initialValue) const override |
Creates a new accumulator. | |
virtual std::unique_ptr< CBCFigureOfMeritEvaluator > | evaluator () override |
Returns a std::unique_ptr to an evaluator for the figure of merit. | |
virtual std::string | format () const override |
Output information about the figure of merit. | |
Real | expNorm () const |
Returns the exponent to use when accumulating merits. | |
Public Member Functions inherited from NetBuilder::FigureOfMerit::CBCFigureOfMerit | |
virtual | ~CBCFigureOfMerit ()=default |
Virtual default destructor. | |
Public Member Functions inherited from NetBuilder::FigureOfMerit::FigureOfMerit | |
virtual | ~FigureOfMerit ()=default |
Virtual default destructor. | |
std::unique_ptr< FigureOfMeritEvaluator > | evaluator () |
Returns a std::unique_ptr to an evaluator for the figure of merit. |
Class which represents a weighted figure of merit based on a projection dependent merit whose type is the template parameter.
PROJDEP | The type of the projection dependent merit. This type should implement the following methods:
|
|
inline |
Constructs a weigthed figure of merit based on the given arguments.
normType | Norm type of the figure of merit. |
weights | Weights of the subprojections. |
projDepMerit | Projection-dependent merit. |
References normType(), projDepMerit(), and weights().
Referenced by NetBuilder::FigureOfMerit::WeightedFigureOfMerit< PROJDEP >::WeightedFigureOfMeritEvaluator::WeightedFigureOfMeritEvaluator().
|
inlineoverridevirtual |
Creates a new accumulator.
initialValue | Initial accumulator value. |
Implements NetBuilder::FigureOfMerit::CBCFigureOfMerit.
|
inlineoverridevirtual |
Returns a std::unique_ptr
to an evaluator for the figure of merit.
Implements NetBuilder::FigureOfMerit::CBCFigureOfMerit.
|
inlineoverridevirtual |
Output information about the figure of merit.
Implements NetBuilder::FigureOfMerit::FigureOfMerit.