LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
NetBuilder::FigureOfMerit::TValue< ET > Class Template Reference

Class to represent figure of merit based on the t-value of a net. More...

#include <TValue.h>

Inherits NetBuilder::FigureOfMerit::FigureOfMerit.

Public Types

typedef std::unique_ptr< LevelCombiner::LevelCombinerpCombiner

Public Member Functions

 TValue (pCombiner combiner=std::make_unique< LevelCombiner::LevelCombiner >())
 Constructor.
std::unique_ptr< FigureOfMeritEvaluatorcreateEvaluator () override
MeritValue combine (const RealVector &merits)
virtual std::string format () const override
 Output information about the figure of merit.
std::string format () const
 Template specialization of the output information about the figure of merit in the unilevel case.
std::string format () const
 Template specialization of the output information about the figure of merit in the multilevel case.
Public Member Functions inherited from NetBuilder::FigureOfMerit::FigureOfMerit
virtual ~FigureOfMerit ()=default
 Virtual default destructor.
std::unique_ptr< FigureOfMeritEvaluatorevaluator ()
 Returns a std::unique_ptr to an evaluator for the figure of merit.

Detailed Description

template<EmbeddingType ET>
class NetBuilder::FigureOfMerit::TValue< ET >

Class to represent figure of merit based on the t-value of a net.

The computation if the t-value uses Algorithm 1 proposed by Dick and Matsumoto in [6]. The multilevel computation of the t-value is based on the second item of Remark 3. Note that this algorithm has strong similiarities with the coordinate-uniform evaluation algorithm used for kernel-based figures. That is why the Storage class from LatBuilder is used here, with the same trick as for CoordUniformFigureOfMerit.

Constructor & Destructor Documentation

◆ TValue()

template<EmbeddingType ET>
NetBuilder::FigureOfMerit::TValue< ET >::TValue ( pCombiner combiner = std::make_unique<LevelCombiner::LevelCombiner>())
inline

Constructor.

Parameters
combinerCombiner multilevel merits. Only used when template parameter ET equals EmbeddingType::MULTILEVEL.

Member Function Documentation

◆ createEvaluator()

template<EmbeddingType ET>
std::unique_ptr< FigureOfMeritEvaluator > NetBuilder::FigureOfMerit::TValue< ET >::createEvaluator ( )
inlineoverridevirtual

◆ format() [1/3]

std::string NetBuilder::FigureOfMerit::TValue< EmbeddingType::UNILEVEL >::format ( ) const
virtual

Template specialization of the output information about the figure of merit in the unilevel case.

Implements NetBuilder::FigureOfMerit::FigureOfMerit.

◆ format() [2/3]

std::string NetBuilder::FigureOfMerit::TValue< EmbeddingType::MULTILEVEL >::format ( ) const
virtual

Template specialization of the output information about the figure of merit in the multilevel case.

Implements NetBuilder::FigureOfMerit::FigureOfMerit.

◆ format() [3/3]

template<EmbeddingType ET>
virtual std::string NetBuilder::FigureOfMerit::TValue< ET >::format ( ) const
inlineoverridevirtual

Output information about the figure of merit.

Implements NetBuilder::FigureOfMerit::FigureOfMerit.


The documentation for this class was generated from the following file:
  • include/netbuilder/FigureOfMerit/TValue.h