LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatticeTester::UniformWeights Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ UniformWeights()

LatticeTester::UniformWeights::UniformWeights ( Weight  weight)
inlineexplicit

Constructs uniform weights.

Parameters
weightWeight for all projections.

Member Function Documentation

◆ format()

virtual void LatticeTester::UniformWeights::format ( std::ostream &  os) const
inlineprotectedvirtual

Identifies the type of weights, formats them and outputs them on os.

Remarks
Deriving classes should identify themselves in the output.

Implements LatticeTester::Weights.


The documentation for this class was generated from the following file: