LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
This class is used to implement the same weight for all projections. More...
#include <UniformWeights.h>
Inherits LatticeTester::Weights.
Public Member Functions | |
UniformWeights (Weight weight) | |
Constructs uniform weights. More... | |
virtual | ~UniformWeights () |
Destructor. | |
virtual Weight | getWeight (const Coordinates &) const |
Returns the same weight regardless of the specified indices. | |
Public Member Functions inherited from LatticeTester::Weights | |
virtual | ~Weights () |
Destructor. | |
virtual unsigned int | interlacingFactor () const |
Returns the interlacing factor of the weights. More... | |
Protected Member Functions | |
virtual void | format (std::ostream &os) const |
Identifies the type of weights, formats them and outputs them on os . More... | |
Protected Attributes | |
Weight | m_weight |
Additional Inherited Members | |
Related Functions inherited from LatticeTester::Weights | |
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
This class is used to implement the same weight for all projections.
It represents the trivial case of no weight. The weights can all be chosen as 1.
|
inlineexplicit |
Constructs uniform weights.
weight | Weight for all projections. |
|
inlineprotectedvirtual |
Identifies the type of weights, formats them and outputs them on os
.
Implements LatticeTester::Weights.