Lattice Builder Manual Software Package for Constructing Rank-1 Lattices

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Static Public Member Functions | List of all members
LatBuilder::Parser::FigureOfMerit Struct Reference

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, std::unique_ptr< LatCommon::Weights > weights, FUNC &&func, ARGS &&...args)
| Parses a string specifying a weighted figure of merit and a string specifying weights. More...

## Detailed Description

Parser for generic weighted figures of merit.

## Member Function Documentation

template<typename FUNC , typename... ARGS>

static void LatBuilder::Parser::FigureOfMerit::parse | ( | const std::string & | strNorm,
|  | const std::string & | str,
|  | std::unique_ptr< LatCommon::Weights > | weights,
|  | FUNC && | func,
|  | ARGS &&... | args
| ) |  |
| inline static

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::parse(), and LatBuilder::Parser::WeightedFigureOfMerit::parse().

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

- latbuilder/include/latbuilder/Parser/FigureOfMerit.h