Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatCommon::UniformWeights Class Reference

This class is used to implement the same weight for all projections. More...

#include <UniformWeights.h>

Inherits LatCommon::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 LatCommon::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. More...
 

Protected Attributes

Weight m_weight
 

Additional Inherited Members

Detailed Description

This class is used to implement the same weight for all projections.

Constructor & Destructor Documentation

LatCommon::UniformWeights::UniformWeights ( Weight  weight)
inlineexplicit

Constructs uniform weights.

Parameters
weightWeight for all projections.

Member Function Documentation

virtual void LatCommon::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 LatCommon::Weights.


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