|
Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
|
Specialization of LatType::Normalizer for embedded lattices. More...
#include <Normalizer.h>
Inherits LatBuilder::BasicMeritFilter< LatType::EMBEDDED >.
Public Types | |
| typedef RealVector | MeritValue |
| typedef LatBuilder::LatDef< LatType::EMBEDDED > | LatDef |
| typedef NORM | Norm |
Public Types inherited from LatBuilder::BasicMeritFilter< LatType::EMBEDDED > | |
| typedef MeritFilterTraits< LAT >::MeritValue | InputMeritValue |
| typedef MeritFilterTraits< OUT >::MeritValue | OutputMeritValue |
| typedef LatBuilder::LatDef< LAT > | LatDef |
Public Member Functions | |
| Normalizer (Norm norm) | |
| MeritValue | operator() (const MeritValue &merit, const LatDef &lat) const |
Normalizes the values in merit. More... | |
| const Norm & | norm () const |
| std::string | name () const |
| void | setWeights (RealVector levelWeights) |
| Sets the per-level weights. More... | |
| const RealVector & | weights () const |
Public Member Functions inherited from LatBuilder::BasicMeritFilter< LatType::EMBEDDED > | |
| virtual OutputMeritValue | operator() (const InputMeritValue &, const LatDef &) const =0 |
Specialization of LatType::Normalizer for embedded lattices.
|
inline |
| norm | Normalization function. |
| RealVector LatBuilder::Norm::Normalizer< LatType::EMBEDDED, NORM >::operator() | ( | const MeritValue & | merit, |
| const LatDef & | lat | ||
| ) | const |
Normalizes the values in merit.
Returns true.
References LatBuilder::LatDef< LAT >::dimension(), and LatBuilder::LatDef< LAT >::sizeParam().
| void LatBuilder::Norm::Normalizer< LatType::EMBEDDED, NORM >::setWeights | ( | RealVector | levelWeights | ) |
Sets the per-level weights.
| levelWeights | Per-level weights. |