LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatBuilder::Parser::ProjDepMerit< LR > Struct Template Reference

Parser for projection-dependent figures of merit. More...

#include <ProjDepMerit.h>

Classes

struct  ParseCoordUniform
 

Public Member Functions

template<>
void parse (const std::string &str, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args)
 
template<>
void parse (const std::string &str, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args)
 

Static Public Member Functions

template<typename FUNC , typename... ARGS>
static void parse (const std::string &str, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args)
 Parses a string specifying a projection-dependent figure of merit. More...
 

Detailed Description

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

Parser for projection-dependent figures of merit.

Member Function Documentation

◆ parse()

template<LatticeType LR>
template<typename FUNC , typename... ARGS>
static void LatBuilder::Parser::ProjDepMerit< LR >::parse ( const std::string &  str,
unsigned int  interlacingFactor,
std::unique_ptr< LatticeTester::Weights weights,
FUNC &&  func,
ARGS &&...  args 
)
static

Parses a string specifying a projection-dependent figure of merit.

Example strings: spectral, P2, P4, R1, R1.5

Exceptions
BadProjDepMeritOn failure.

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


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