Lattice Tester Guide
1.0-9
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
|
Abstract class representing Weights for figures of merit. More...
#include <latticetester/Weights.h>
Inherited by LatticeTester::OrderDependentWeights, LatticeTester::PODWeights, LatticeTester::ProductWeights, LatticeTester::ProjectionDependentWeights, and LatticeTester::UniformWeights.
Public Member Functions | |
virtual | ~Weights () |
Destructor. More... | |
virtual Weight | getWeight (const Coordinates &projection) const =0 |
Returns the weight of the projection specified by projection . More... | |
virtual unsigned int | interlacingFactor () const |
Returns the interlacing factor of the weights. More... | |
Protected Member Functions | |
virtual void | format (std::ostream &os) const =0 |
Identifies the type of weights, formats them and outputs them on os . More... | |
Related Functions | |
(Note that these are not member functions.) | |
typedef double | Weight |
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
Abstract class representing Weights for figures of merit.
Typically, if one wants to analyze a lattice, there are multiple figures of merit available. This class presents an interface to give weights to all those figures of merit so that a global figure of merit can be calculated as a weighted mean of many figures of merit.
This abstract class is the basis for different kinds of weights used to accentuate the importance of some projections when computing figures of merit for lattices or point sets. For more insight on what can be done with weights, look what the subclasses implement. These classes are not used directly by LatticeTester since LatticeTester does not implement calculations of figure of merit for different projections of a point set. For example usages, one should look at the LatNetBuilder and the LatMRG software.
|
inlinevirtual |
Destructor.
|
protectedpure virtual |
Identifies the type of weights, formats them and outputs them on os
.
Implemented in LatticeTester::ProductWeights, LatticeTester::PODWeights, LatticeTester::ProjectionDependentWeights, LatticeTester::OrderDependentWeights, and LatticeTester::UniformWeights.
|
pure virtual |
Returns the weight of the projection specified by projection
.
Implemented in LatticeTester::ProjectionDependentWeights, LatticeTester::OrderDependentWeights, LatticeTester::PODWeights, LatticeTester::UniformWeights, and LatticeTester::ProductWeights.
|
inlinevirtual |
Returns the interlacing factor of the weights.
This is used to parametrize figures of merit for interlaced digital nets.
|
related |
Identifies the type of weights, formats them and outputs them on os
.
|
related |
Scalar weight type.
Weight
, but it might be wise to leave this typedef
in case we decide to use std::int64_t Weight
at some point.