LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
Sequence of lattice merit for CBC exploration. More...
#include <CBC.h>
Classes | |
class | Seq |
Output sequence of merit values. More... | |
Public Types | |
typedef WeightedFigureOfMerit< PROJDEP, ACC > | FigureOfMerit |
typedef Storage< LR, ET, COMPRESS, PLO >::MeritValue | MeritValue |
typedef LatBuilder::LatDef< LR, ET > | LatDef |
typedef MeritValue | value_type |
typedef LatticeTester::CoordinateSets::AddCoordinate< LatticeTester::CoordinateSets::FromRanges > | Projections |
Public Member Functions | |
CBC (Storage< LR, ET, COMPRESS, PLO > storage, const FigureOfMerit &figure) | |
Constructor. More... | |
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 figure of merit. | |
const Evaluator & | evaluator () const |
Returns the figure of merit evaluator. | |
const LatDef & | baseLat () const |
Returns the base lattice. More... | |
const MeritValue & | baseMerit () const |
Returns the base merit value. More... | |
Projections | projections () const |
Returns a sequence of coordinate sets corresponding to the all projections that comprise the next coordinate to be appended. | |
template<typename GENSEQ > | |
Seq< GENSEQ > | meritSeq (GENSEQ genSeq) const |
Creates a new sequence of merit values by appending the values in genSeq to the generating vector of the base lattice. More... | |
template<typename IT > | |
void | select (const IT &it) |
Selects the element pointed to by the iterator. More... | |
Public Attributes | |
decltype(std::declval< FigureOfMerit >().evaluator(std::declval< Storage< LR, ET, COMPRESS, PLO >>())) typedef | Evaluator |
Sequence of lattice merit for CBC exploration.
This class is intended to be used with the following steps:
|
inline |
Constructor.
storage | Storage configuration. |
figure | Figure of merit instance to be used. |
|
inline |
Returns the base lattice.
This sequence extends on the lattice base by increasing its dimension by one.
Referenced by LatBuilder::MeritSeq::LatSeqOverCBC< CBC >::Seq< LATSEQ >::element(), LatBuilder::MeritSeq::CBC< LR, ET, COMPRESS, PLO, PROJDEP, ACC >::meritSeq(), and LatBuilder::MeritSeq::CBC< LR, ET, COMPRESS, PLO, PROJDEP, ACC >::projections().
|
inline |
Returns the base merit value.
The merit values contained in this sequence are based on the value returned by this function.
Referenced by LatBuilder::MeritSeq::LatSeqOverCBC< CBC >::Seq< LATSEQ >::element(), and LatBuilder::MeritSeq::CBC< LR, ET, COMPRESS, PLO, PROJDEP, ACC >::Seq< GENSEQ >::element().
|
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. |
References LatBuilder::MeritSeq::CBC< LR, ET, COMPRESS, PLO, PROJDEP, ACC >::baseLat(), and LatBuilder::LatSeq::cbc().
Referenced by LatBuilder::MeritSeq::LatSeqOverCBC< CBC >::Seq< LATSEQ >::element().
|
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. |
Referenced by LatBuilder::MeritSeq::LatSeqOverCBC< CBC >::Seq< LATSEQ >::element().