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
Public Types | Static Public Member Functions | List of all members
LatBuilder::Parser::LevelWeights Struct Reference

Parser for per-level weights. More...

`#include <LevelWeights.h>`

## Public Types
typedef RealVector | result_type

## Static Public Member Functions
static result_type | parse (const std::string &arg, const SizeParam< LatType::EMBEDDED > &sizeParam)
| Parses per-level weights. More...

## Detailed Description

Parser for per-level weights.

## Member Function Documentation

static result_type LatBuilder::Parser::LevelWeights::parse | ( | const std::string & | arg,
|  | const SizeParam< LatType::EMBEDDED > & | sizeParam
| ) |  |
| static

Parses per-level weights.

The weights are all even and the string must specify the minimum and maximum levels.

Example string: `even`, `even:5`, `even:5,12`

Empty string is interpreted as `even`.

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

- latbuilder/include/latbuilder/Parser/LevelWeights.h