LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::CombinedWeights Class Reference

Combined weights. More...

#include <CombinedWeights.h>

Inherits LatticeTester::Weights.

Public Types

typedef std::list< std::unique_ptr< LatticeTester::Weights > > WeightsList

Public Member Functions

 CombinedWeights ()
 Constructs an empty set of combined weights.
virtual ~CombinedWeights ()
 Destructor.
virtual LatticeTester::Weight getWeight (const LatticeTester::Coordinates &projection) const
 Returns the weight of the projection specified by projection.
void add (std::unique_ptr< LatticeTester::Weights > weights)
 Adds a weight specification to the set of combined weights.
const WeightsList & list () const
WeightsList giveWeights ()
virtual unsigned int interlacingFactor () const
 Returns the interlacing factor of the weights.This is used to parametrize figures of merit for interlaced digital nets.
Public Member Functions inherited from LatticeTester::Weights
virtual ~Weights ()
 Destructor.

Protected Member Functions

virtual void format (std::ostream &os) const
 Identifies the type of weights, formats them and outputs them on os.

Protected Attributes

WeightsList m_weights

Additional Inherited Members

Detailed Description

Combined weights.

Sum of different instances of weights (possibly be of different concrete types).

Member Function Documentation

◆ format()

virtual void LatBuilder::CombinedWeights::format ( std::ostream & os) const
protectedvirtual

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

Remarks
Deriving classes should identify themselves in the output.

Implements LatticeTester::Weights.

References CombinedWeights().

◆ getWeight()

virtual LatticeTester::Weight LatBuilder::CombinedWeights::getWeight ( const LatticeTester::Coordinates & projection) const
virtual

Returns the weight of the projection specified by projection.

Implements LatticeTester::Weights.

◆ interlacingFactor()

virtual unsigned int LatBuilder::CombinedWeights::interlacingFactor ( ) const
inlinevirtual

Returns the interlacing factor of the weights.This is used to parametrize figures of merit for interlaced digital nets.

Reimplemented from LatticeTester::Weights.


The documentation for this class was generated from the following file:
  • include/latbuilder/CombinedWeights.h