Lattice Tester Guide  1.0-9
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
LatticeTester::PODWeights Class Reference

Product and order-dependent (POD) weights. More...

#include <latticetester/PODWeights.h>

Inherits LatticeTester::Weights.

Public Member Functions

 PODWeights ()
 Constructs order-dependent weights with default weight. More...
 
virtual ~PODWeights ()
 Destructor. More...
 
virtual Weight getWeight (const Coordinates &projection) const
 Returns the weight of the projection specified by projection. More...
 
OrderDependentWeightsgetOrderDependentWeights ()
 Returns the order-dependent part of the weights. More...
 
ProductWeightsgetProductWeights ()
 Returns the product part of the weights. More...
 
- Public Member Functions inherited from LatticeTester::Weights
virtual ~Weights ()
 Destructor. More...
 
virtual unsigned int interlacingFactor () const
 Returns the interlacing factor of the weights. More...
 

Protected Member Functions

virtual void format (std::ostream &os) const
 Static factory method; create a PODWeights object by parsing XML data. More...
 

Additional Inherited Members

Detailed Description

Product and order-dependent (POD) weights.

This class implements POD weights. The weight of a projection depends on the order of the projection and on the coordinates that are in the projection.

Constructor & Destructor Documentation

◆ PODWeights()

LatticeTester::PODWeights::PODWeights ( )

Constructs order-dependent weights with default weight.

◆ ~PODWeights()

virtual LatticeTester::PODWeights::~PODWeights ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ format()

void LatticeTester::PODWeights::format ( std::ostream &  os) const
protectedvirtual

Static factory method; create a PODWeights object by parsing XML data.

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

Remarks
Deriving classes should identify themselves in the output.

Implements LatticeTester::Weights.

◆ getOrderDependentWeights()

OrderDependentWeights& LatticeTester::PODWeights::getOrderDependentWeights ( )
inline

Returns the order-dependent part of the weights.

◆ getProductWeights()

ProductWeights& LatticeTester::PODWeights::getProductWeights ( )
inline

Returns the product part of the weights.

◆ getWeight()

Weight LatticeTester::PODWeights::getWeight ( const Coordinates projection) const
virtual

Returns the weight of the projection specified by projection.

Implements LatticeTester::Weights.


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