LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
Sequence of lattice merit for weighted coordinate-uniform figures of merit. More...
#include <CoordUniformCBC.h>
Classes | |
class | Seq |
Output sequence from the coordinate-uniform CBC algorithm. More... |
Public Types | |
typedef PROD< LR, ET, COMPRESS, PLO > | CoordUniformInnerProd |
typedef Storage< LR, ET, COMPRESS, PLO >::MeritValue | MeritValue |
typedef LatBuilder::LatDef< LR, ET > | LatDef |
typedef CoordUniformFigureOfMerit< KERNEL > | FigureOfMerit |
typedef CoordUniformInnerProd::StateList | StateList |
typedef MeritValue | value_type |
typedef LatticeTraits< LR >::GenValue | GenValue |
Public Member Functions | |
CoordUniformCBC (Storage< LR, ET, COMPRESS, PLO > storage, const FigureOfMerit &figure) | |
Constructor. | |
void | reset () |
Resets the state of the CBC algorithm to dimension 0. | |
const Storage< LR, ET, COMPRESS, PLO > & | storage () const |
Returns the storage configuration instance. | |
const FigureOfMerit & | figureOfMerit () const |
Returns the coordinate-uniform figure of merit. | |
const CoordUniformInnerProd & | innerProd () const |
Returns the inner product instance. | |
const StateList & | states () const |
Returns the states. | |
RealVector | weightedState () const |
Returns the total weighted state. | |
const LatDef & | baseLat () const |
Returns the base lattice. | |
const MeritValue & | baseMerit () const |
Returns the base merit value. | |
template<typename GENSEQ> | |
Seq< GENSEQ > | meritSeq (const GENSEQ &genSeq) const |
Creates a new sequence of merit values by appending the values in genSeq to the generating vector of the base lattice. | |
template<typename IT> | |
void | select (const IT &it) |
Selects the element pointed to by the iterator. |
Sequence of lattice merit for weighted coordinate-uniform figures of merit.
A weighted coordinate-uniform figure of merit is of the form:
\[ \mathcal D^2 = \sum_{\emptyset \neq \mathfrak u \subseteq \{1, \dots, s\}} \gamma_{\mathfrak u} \frac1n \sum_{i=0}^{n-1} \prod_{j \in \mathfrak u} \omega(x_{i,j}), \]
for some function \(\omega: [0,1) \to [0,\infty)\).
ET | Type of lattice. |
COMPRESS | Type of compression. |
KERNEL | Kernel of the coordinate-uniform figure of merit; should derive from Kernel::Base. |
PROD | Type of inner product; either CoordUniformInnerProd or CoordUniformInnerProdFast. |
|
inline |
Constructor.
storage | Storage configuration. |
figure | Coordinate-uniform figure of merit. |
Referenced by LatBuilder::MeritSeq::CoordUniformCBC< LR, ET, COMPRESS, PLO, KERNEL, PROD >::Seq< GENSEQ >::cbc(), and LatBuilder::MeritSeq::CoordUniformCBC< LR, ET, COMPRESS, PLO, KERNEL, PROD >::Seq< GENSEQ >::Seq().
|
inline |
Returns the base lattice.
This sequence extends on the lattice base by increasing its dimension by one.
Referenced by LatBuilder::MeritSeq::CoordUniformCBC< LR, ET, COMPRESS, PLO, KERNEL, PROD >::Seq< GENSEQ >::Seq().
|
inline |
Returns the base merit value.
The merit values contained in this sequence are based on the value returned by this function.
|
inline |
Creates a new sequence of merit values by appending the values in genSeq
to the generating vector of the base lattice.
genSeq | Sequence of generator values. |
|
inline |
Selects the element pointed to by the iterator.
Returns true
if and only if the sequence of generator sequences is not exhausted.
it | Iterator on the element of the sequence to be selected. |