LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
Parser for generic weighted figures of merit. More...
#include <FigureOfMerit.h>
Static Public Member Functions | |
template<typename FUNC, typename... ARGS> | |
static void | parse (const std::string &strNorm, const std::string &str, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args) |
Parses a string specifying a weighted figure of merit and a string specifying weights. |
Parser for generic weighted figures of merit.
|
inlinestatic |
Parses a string specifying a weighted figure of merit and a string specifying weights.
Example strings: P2
, CU:P2
, spectral
, spectral:2
References LatBuilder::Parser::CoordUniformFigureOfMerit< LR >::parse(), LatBuilder::Parser::WeightedFigureOfMerit< LR >::parse(), and LatBuilder::Parser::splitPair().