LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
Abstract class representing digital nets in base 2. More...
#include <DigitalNet.h>
Inherited by NetBuilder::DigitalNet< NC >.
Public Member Functions | |
AbstractDigitalNet (Dimension dimension=0, unsigned int nRows=0, unsigned int nCols=0) | |
Default constructor. | |
virtual | ~AbstractDigitalNet ()=default |
Default destructor. | |
unsigned int | numColumns () const |
Returns the number of columns of the generating matrices. | |
unsigned int | numRows () const |
Returns the number of rows of the generating matrices. | |
uInteger | numPoints () const |
Returns the number of points of the net. | |
uInteger | size () const |
Returns the number of points of the net. | |
Dimension | dimension () const |
Returns the dimension (number of coordinates) of the net. | |
const GeneratingMatrix & | generatingMatrix (Dimension coord) const |
Returns the generating matrix corresponding to coordinate coord . | |
virtual std::string | format (OutputStyle outputStyle=OutputStyle::TERMINAL, unsigned int interlacingFactor=1) const =0 |
Formats the net for output. | |
virtual bool | isSequenceViewable () const =0 |
Returns a bool indicating whether the net can be viewed as a digital sequence. |
Protected Member Functions | |
AbstractDigitalNet (Dimension dimension, unsigned int nRows, unsigned int nCols, std::vector< std::shared_ptr< GeneratingMatrix > > genMatrices) | |
Most general constructor. |
Protected Attributes | |
Dimension | m_dimension |
unsigned int | m_nRows |
unsigned int | m_nCols |
std::vector< std::shared_ptr< GeneratingMatrix > > | m_generatingMatrices |
Abstract class representing digital nets in base 2.
Digital nets in other bases are not implemented. An abstract digital net essentially corresponds to a vector of generating matrices. This class is used to reason about digital nets whenever we do not need to actually construct them, e.g. to compute figures of merit from the matrices.
Concrete instantiations of this class are done through its derived class called DigitalNet.
|
inline |
Default constructor.
dimension | Number of coordinates in the net. |
nRows | Number of rows of the generating matrices. |
nCols | Number of columns of the generating matrices. |
References dimension().
Referenced by NetBuilder::DigitalNet< NC >::DigitalNet(), and NetBuilder::DigitalNet< NC >::DigitalNet().
|
inlineprotected |
Most general constructor.
Designed to be used by derived classes.
dimension | Dimension of the net. |
nRows | Number of rows of the generating matrices. |
nCols | Number of columns of the generating matrices. |
genMatrices | Vector of shared pointers to the generating matrices. |
References dimension().
|
pure virtual |
Formats the net for output.
outputFormat | Format of output. |
interlacingFactor | Interlacing factor of the net. |
outputStyle | Specific Format of output Machine format. |
Implemented in NetBuilder::DigitalNet< NC >.
Referenced by NetBuilder::Task::Eval::outputNet().
|
inline |
Returns the generating matrix corresponding to coordinate coord
.
coord | A coordinate (between 0 and dimension() - 1 ). |
Referenced by NetBuilder::FigureOfMerit::ResolutionGapProjMerit< EmbeddingType::MULTILEVEL >::operator()(), NetBuilder::FigureOfMerit::ResolutionGapProjMerit< EmbeddingType::UNILEVEL >::operator()(), NetBuilder::FigureOfMerit::TValueProjMerit< EmbeddingType::MULTILEVEL, METHOD >::operator()(), and NetBuilder::FigureOfMerit::TValueProjMerit< EmbeddingType::UNILEVEL, METHOD >::operator()().
|
pure virtual |
Returns a bool indicating whether the net can be viewed as a digital sequence.
Implemented in NetBuilder::DigitalNet< NC >.