LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
#include <CombinedWeights.h>
Static Public Member Functions | |
static bool | parseFile (const std::string &arg, LatBuilder::CombinedWeights &weights, Real powerScale) |
Parses a string specifying a file containing a description of combined weights. More... | |
static std::unique_ptr< LatBuilder::CombinedWeights > | parse (const std::vector< std::string > &args, Real powerScale) |
Parses a vector of strings specifying weights. More... | |
Parser for weights.
|
static |
Parses a vector of strings specifying weights.
For example strings, see parseFile(), Parser::Weights::parseProjectionDependent(), Parser::Weights::parseOrderDependent() and Parser::Weights::parseProduct().
nullptr
on failure.
|
static |
Parses a string specifying a file containing a description of combined weights.
Adds projection-dependent and order-dependent weights to an existing CombinedWeights instance.
Example strings: file:filename
true
on success; false
on failure