NetBuilder namespace.
More...
|
enum | NetConstruction { SOBOL,
POLYNOMIAL,
EXPLICIT
} |
| Net construction methods.
|
|
enum | OutputFormat { HUMAN,
MACHINE
} |
| Output format for nets.
|
|
|
int | main (int argc, const char *argv[]) |
|
void | SET_PATH_TO_LATNETBUILDER_DIR_FROM_PROGRAM_NAME (const char *argv0) |
| Sets the path to the directory containing the latnetbuilder executable. More...
|
|
void | FIND_PATH_TO_LATNETBUILDER_DIR () |
| Recovers the path to the latnetbuilder executable if it was added to the PATH environment variable.
|
|
void | SET_PATH_TO_LATNETBUILDER_DIR (const std::string &path) |
| Sets the path to the directory in which the latnetbuilder executable is located. More...
|
|
void | CHECK_PATH_TO_LATNETBUILDER_DIR () |
| Checks if the PATH_TO_LATNETBUILDER_DIR is correctly set: existence of the latnetbuilder executable in the directory and existence of the ../share/latnetbuilder/data and ../share/latticetester/data directories.
|
|
template<typename T > |
T | intPow (T base, unsigned long exponent) |
|
Polynomial | polynomialParserHelper (const std::string &str) |
|
NetBuilder namespace.
Class and type definitions that are specific to NetBuilder.
◆ SET_PATH_TO_LATNETBUILDER_DIR()
void NetBuilder::SET_PATH_TO_LATNETBUILDER_DIR |
( |
const std::string & |
path | ) |
|
Sets the path to the directory in which the latnetbuilder executable is located.
path
can be a relative path from the executable directory (in this case when the executable is called the current working directory must match the executable location). Alternatively, path
can be a relative path from the working directory from which the executable will be called. Finally, path
can be an absolute path.
- Parameters
-
path | New value of PATH_TO_LATNETBUILDER_DIR. |
◆ SET_PATH_TO_LATNETBUILDER_DIR_FROM_PROGRAM_NAME()
void NetBuilder::SET_PATH_TO_LATNETBUILDER_DIR_FROM_PROGRAM_NAME |
( |
const char * |
argv0 | ) |
|
Sets the path to the directory containing the latnetbuilder executable.
Should only be call from an executable which is located in the same directory as the latnetbuilder executable.
- Parameters
-
argv0 | argv[0] from the main function arguments. |