LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::CoordUniformFigureOfMerit< KERNEL > Class Template Reference

Base base class for coordinate-uniform figures of merit. More...

#include <CoordUniformFigureOfMerit.h>

Inherits LatBuilder::FigureOfMerit.

Public Member Functions

 CoordUniformFigureOfMerit (std::unique_ptr< LatticeTester::Weights > weights, KERNEL kernel=KERNEL())
 Constructor.
const LatticeTester::Weightsweights () const
 Returns the projection-dependent weights \(\gamma_{\mathfrak u}\).
const KERNEL & kernel () const
 Returns the coordinate-uniform kernel.
bool symmetric () const
 Returns true if the value of the figure of merit is invariant under the transormation \(a_j \mapsto n - a_j\) for any \(j=1,\dots,s\), where \(n\) and \(s\) are, respectively, the number of points and the dimension of the lattice and \(a_j\) is the \(j\)-th component of the generating vector \(\boldsymbol a = (a_1, \dots, a_s)\).
std::string name () const
Real normType () const
Public Member Functions inherited from LatBuilder::FigureOfMerit
virtual ~FigureOfMerit ()
 Destructor.

Static Public Member Functions

static constexpr Compress suggestedCompression ()
static std::string evaluationName ()

Protected Member Functions

std::ostream & format (std::ostream &os) const

Detailed Description

template<class KERNEL>
class LatBuilder::CoordUniformFigureOfMerit< KERNEL >

Base base class for coordinate-uniform figures of merit.

Examples
tutorial/FilteredCBC.cc, tutorial/FilteredRCBC.cc, tutorial/MeritSeqCoordUniform.cc, tutorial/MeritSeqFastCBC.cc, and tutorial/MeritSeqNonCBC.cc.

Constructor & Destructor Documentation

◆ CoordUniformFigureOfMerit()

template<class KERNEL>
LatBuilder::CoordUniformFigureOfMerit< KERNEL >::CoordUniformFigureOfMerit ( std::unique_ptr< LatticeTester::Weights > weights,
KERNEL kernel = KERNEL() )
inline

Constructor.

Parameters
weightsSee WeightedFigureOfMerit::WeightedFigureOfMerit for details about this parameter.
kernelKernel ( \(\omega\) in the reference paper). See the Kernel namespace for examples.

References kernel(), and weights().

Member Function Documentation

◆ format()

template<class KERNEL>
std::ostream & LatBuilder::CoordUniformFigureOfMerit< KERNEL >::format ( std::ostream & os) const
inlineprotectedvirtual

◆ name()

template<class KERNEL>
std::string LatBuilder::CoordUniformFigureOfMerit< KERNEL >::name ( ) const
inlinevirtual

◆ normType()

template<class KERNEL>
Real LatBuilder::CoordUniformFigureOfMerit< KERNEL >::normType ( ) const
inlinevirtual

◆ symmetric()

template<class KERNEL>
bool LatBuilder::CoordUniformFigureOfMerit< KERNEL >::symmetric ( ) const
inlinevirtual

Returns true if the value of the figure of merit is invariant under the transormation \(a_j \mapsto n - a_j\) for any \(j=1,\dots,s\), where \(n\) and \(s\) are, respectively, the number of points and the dimension of the lattice and \(a_j\) is the \(j\)-th component of the generating vector \(\boldsymbol a = (a_1, \dots, a_s)\).

Returns true if the kernel is symmetric.

Implements LatBuilder::FigureOfMerit.

References kernel().

◆ weights()

template<class KERNEL>
const LatticeTester::Weights & LatBuilder::CoordUniformFigureOfMerit< KERNEL >::weights ( ) const
inlinevirtual

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

Implements LatBuilder::FigureOfMerit.

Referenced by CoordUniformFigureOfMerit().


The documentation for this class was generated from the following file:
  • include/latbuilder/CoordUniformFigureOfMerit.h