LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::Parser::Kernel< LR > Struct Template Reference

Parser for kernels for coordinate-uniform figures of merit. More...

#include <Kernel.h>

Public Member Functions

void parse (const std::string &str, unsigned int interlacingFactor, std::unique_ptr< LatticeTester::Weights > weights, FUNC &&func, ARGS &&... args)
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 >, FUNC &&func, ARGS &&... args)
 Parses a string specifying a kernel for the coordinate-uniform figure of merit, like the \(\mathcal P_\alpha\) and the \(\mathcal R_\alpha\) figures of merit.

Detailed Description

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

Parser for kernels for coordinate-uniform figures of merit.

Member Function Documentation

◆ parse()

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

Parses a string specifying a kernel for the coordinate-uniform figure of merit, like the \(\mathcal P_\alpha\) and the \(\mathcal R_\alpha\) figures of merit.

Example strings: P2, P4, P6, R1, R1.5, R2

Returns
A shared pointer to a newly created object or nullptr on failure.

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


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