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

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

#include <PODWeights.h>

Inherits LatticeTester::Weights.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

OrderDependentWeights m_orderDependentWeights
ProductWeights m_productWeights

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.

Member Function Documentation

◆ format()

virtual 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.

◆ getWeight()

virtual 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 file:
  • latticetester/include/latticetester/PODWeights.h