|
LatNet Builder Manual 2.1.3-6
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. | |
| 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. | |
Protected Member Functions | |
| virtual void | format (std::ostream &os) const |
Identifies the type of weights, formats them and outputs them on os. | |
Protected Attributes | |
| Weight | m_weight |
Additional Inherited Members | |
| Related Symbols inherited from LatticeTester::Weights | |
| typedef double | Weight |
| Scalar weight type. | |
| std::ostream & | operator<< (std::ostream &os, const Weights &o) |
Identifies the type of weights, formats them and outputs them on os. | |
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.
|
inlinevirtual |
Returns the same weight regardless of the specified indices.
Implements LatticeTester::Weights.