LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::Parser::WeightedFigureOfMerit< LR > Struct Template 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, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args)
 Parses a string specifying a weighted figure of merit.

Detailed Description

template<LatticeType LR>
struct LatBuilder::Parser::WeightedFigureOfMerit< LR >

Parser for generic weighted figures of merit.

Member Function Documentation

◆ parse()

template<LatticeType LR>
template<typename FUNC, typename... ARGS>
void LatBuilder::Parser::WeightedFigureOfMerit< LR >::parse ( const std::string & strNorm,
const std::string & str,
unsigned int interlacingFactor,
std::unique_ptr< LatticeTester::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< LR >::parse().

Referenced by LatBuilder::Parser::FigureOfMerit< LR >::parse().


The documentation for this struct was generated from the following file:
  • include/latbuilder/Parser/WeightedFigureOfMerit.h