LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET > Class Template Reference

Class which represents a coordinate uniform figure of merit based on a kernel which is the template parameter. More...

#include <CoordUniformFigureOfMerit.h>

Inherits NetBuilder::FigureOfMerit::CBCFigureOfMerit.

Public Types

typedef std::unique_ptr< LevelCombiner::LevelCombinerpCombiner
 

Public Member Functions

 CoordUniformFigureOfMerit (std::unique_ptr< LatticeTester::Weights > weights, KERNEL kernel=KERNEL(), pCombiner combiner=std::make_unique< LevelCombiner::LevelCombiner >())
 Constructor. More...
 
const LatticeTester::Weightsweights () const
 Returns the projection-dependent weights \(\gamma_{\mathfrak u}\). More...
 
const KERNEL & kernel () const
 Returns the coordinate-uniform kernel.
 
bool symmetric () const
 Returns a bool indicating whether the kernel is symmetric.
 
virtual std::string format () const override
 Output information about the figure of merit.
 
virtual std::unique_ptr< CBCFigureOfMeritEvaluatorevaluator () override
 Returns a std::unique_ptr to an evaluator for the figure of merit.
 
virtual Accumulator accumulator (Real initialValue) const override
 Creates a new accumulator. More...
 
- 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< FigureOfMeritEvaluatorevaluator ()
 Returns a std::unique_ptr to an evaluator for the figure of merit.
 

Static Public Member Functions

static constexpr LatBuilder::Compress suggestedCompression ()
 Returns the suggested compression for this kernel.
 

Detailed Description

template<class KERNEL, LatBuilder::EmbeddingType ET>
class NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET >

Class which represents a coordinate uniform figure of merit based on a kernel which is the template parameter.

Constructor & Destructor Documentation

◆ CoordUniformFigureOfMerit()

template<class KERNEL , LatBuilder::EmbeddingType ET>
NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET >::CoordUniformFigureOfMerit ( std::unique_ptr< LatticeTester::Weights weights,
KERNEL  kernel = KERNEL(),
pCombiner  combiner = std::make_unique<LevelCombiner::LevelCombiner>() 
)
inline

Constructor.

Parameters
weightsSee LatBuilder::WeightedFigureOfMerit::WeightedFigureOfMerit for details about this parameter.
kernelKernel ( \(\omega\) in the reference paper). See the LatBuilder::Kernel namespace for examples.
combinerCombiner used to combine multilevel merits into a single value merit. Not used is ET is UNILEVEL.

Member Function Documentation

◆ accumulator()

template<class KERNEL , LatBuilder::EmbeddingType ET>
virtual Accumulator NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET >::accumulator ( Real  initialValue) const
inlineoverridevirtual

Creates a new accumulator.

Parameters
initialValueInitial accumulator value.

Implements NetBuilder::FigureOfMerit::CBCFigureOfMerit.

◆ weights()

template<class KERNEL , LatBuilder::EmbeddingType ET>
const LatticeTester::Weights& NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET >::weights ( ) const
inline

Returns the projection-dependent weights \(\gamma_{\mathfrak u}\).

Referenced by NetBuilder::FigureOfMerit::CoordUniformFigureOfMerit< KERNEL, ET >::format().


The documentation for this class was generated from the following file: