LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
numpy_random_state.h File Reference

Bit-exact port of matlab/src/opt/+opt/+de/NumpyRandomState.m. More...

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <numeric>
#include <vector>
#include "line/opt/de/mt19937.h"
#include "line/util/error.h"
Include dependency graph for numpy_random_state.h:

Go to the source code of this file.

Classes

class  line::opt::de::NumpyRandomState

Namespaces

namespace  line
namespace  line::opt
namespace  line::opt::de

Detailed Description

Bit-exact port of matlab/src/opt/+opt/+de/NumpyRandomState.m.

Only the legacy NumPy RandomState operations consumed by line-opt are exposed: random_sample, uniform, default-dtype randint, shuffle and permutation. Their word consumption is part of the contract.

Definition in file numpy_random_state.h.