Abstract class that defines an interface to specify Weights given to projections in figures of merit.
More...
#include <latticetester/Weights.h>
|
virtual | ~Weights () |
| Destructor.
|
|
virtual Weight | getWeight (const Coordinates &projection) const =0 |
| Returns the weight of the projection (subset of coordinates) specified by projection .
|
|
virtual uint64_t | interlacingFactor () const |
| Returns the interlacing factor of the weights.
|
|
|
virtual void | format (std::ostream &os) const =0 |
| Identifies the type of weights, formats them and outputs them on os .
|
|
|
(Note that these are not member symbols.)
|
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
| Identifies the type of weights, formats them and outputs them on os .
|
|
Abstract class that defines an interface to specify Weights given to projections in figures of merit.
This class and its subclasses are not used directly by LatticeTester since LatticeTester does not implement figures of merit. For examples of usages, one may look at LatNetBuilder and LatMRG.
◆ ~Weights()
virtual LatticeTester::Weights::~Weights |
( |
| ) |
|
|
inlinevirtual |
◆ format()
virtual void LatticeTester::Weights::format |
( |
std::ostream & | os | ) |
const |
|
protectedpure virtual |
◆ getWeight()
virtual Weight LatticeTester::Weights::getWeight |
( |
const Coordinates & | projection | ) |
const |
|
pure virtual |
◆ interlacingFactor()
virtual uint64_t LatticeTester::Weights::interlacingFactor |
( |
| ) |
const |
|
inlinevirtual |
Returns the interlacing factor of the weights.
This is used in LatNet Builder to parameterize the figures of merit for interlaced digital nets.
◆ operator<<() [1/2]
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Weights & | o ) |
|
related |
Identifies the type of weights, formats them and outputs them on os
.
◆ operator<< [2/2]
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const Weights & | o ) |
|
friend |
The documentation for this class was generated from the following file: