Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
|
Abstract weights class. More...
#include <Weights.h>
Inherited by LatBuilder::CombinedWeights, LatCommon::OrderDependentWeights, LatCommon::PODWeights, LatCommon::ProductWeights, LatCommon::ProjectionDependentWeights, and LatCommon::UniformWeights.
Public Member Functions | |
virtual | ~Weights () |
Destructor. | |
virtual Weight | getWeight (const Coordinates &projection) const =0 |
Returns the weight of the projection specified by projection . | |
Protected Member Functions | |
virtual void | format (std::ostream &os) const =0 |
Identifies the type of weights, formats them and outputs them on os . More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Weights &o) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &os, const Weights &o) |
Abstract weights class.
This abstract class is the basis for different kinds of weights used to accentuate the importance given to some projections when computing figures of merit for lattices or point sets.
|
protectedpure virtual |
Identifies the type of weights, formats them and outputs them on os
.
Implemented in LatCommon::ProjectionDependentWeights, LatCommon::OrderDependentWeights, LatCommon::PODWeights, LatCommon::ProductWeights, LatBuilder::CombinedWeights, and LatCommon::UniformWeights.
Referenced by operator<<().
|
related |
Identifies the type of weights, formats them and outputs them on os
.
References format().