Lattice Builder
Software Package for Constructing Rank-1 Lattices
|
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... | |
Parser for generic weighted figures of merit.
|
inlinestatic |
Parses a string specifying a weighted figure of merit.
Example strings: sum:P2
, sum:spectral
, max:spectral:2
BadNorm | On failure. |
References LatBuilder::Parser::ProjDepMerit::parse().
Referenced by LatBuilder::Parser::FigureOfMerit::parse().