Lattice Builder
Software Package for Constructing Rank-1 Lattices
|
Combined weights. More...
#include <CombinedWeights.h>
Public Types | |
typedef std::list < std::unique_ptr < LatCommon::Weights > > | WeightsList |
Public Member Functions | |
CombinedWeights () | |
Constructs an empty set of combined weights. | |
virtual | ~CombinedWeights () |
Destructor. | |
virtual LatCommon::Weight | getWeight (const LatCommon::Coordinates &projection) const |
Returns the weight of the projection specified by projection . | |
void | add (std::unique_ptr< LatCommon::Weights > weights) |
Adds a weight specification to the set of combined weights. | |
const WeightsList & | list () const |
Protected Member Functions | |
virtual void | format (std::ostream &os) const |
Protected Attributes | |
WeightsList | m_weights |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &os, const CombinedWeights &weights) |
Combined weights.
Sum of different instances of weights (possibly be of different concrete types).
|
related |
Outputs the projection-dependent weights to os
in a format readable.