Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatBuilder::Parser::WeightedFigureOfMerit Struct Reference

Parser for generic weighted figures of merit. More...

#include <WeightedFigureOfMerit.h>

Classes

struct  ParseProjDepMerit
 

Static Public Member Functions

template<typename FUNC , typename... ARGS>
static void parse (const std::string &strNorm, const std::string &str, std::unique_ptr< LatCommon::Weights > weights, FUNC &&func, ARGS &&...args)
 Parses a string specifying a weighted figure of merit. More...
 

Detailed Description

Parser for generic weighted figures of merit.

Member Function Documentation

template<typename FUNC , typename... ARGS>
static void LatBuilder::Parser::WeightedFigureOfMerit::parse ( const std::string &  strNorm,
const std::string &  str,
std::unique_ptr< LatCommon::Weights weights,
FUNC &&  func,
ARGS &&...  args 
)
inlinestatic

Parses a string specifying a weighted figure of merit.

Example strings: P2, spectral, spectral:2

Exceptions
BadNormOn failure.

References LatBuilder::Parser::ProjDepMerit::parse().

Referenced by LatBuilder::Parser::FigureOfMerit::parse().


The documentation for this struct was generated from the following file: