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

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

#include <array>
#include <cstddef>
#include <cstdint>
#include <vector>
#include "line/util/error.h"
Include dependency graph for mt19937.h:

Go to the source code of this file.

Classes

class  line::opt::de::MT19937

Namespaces

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

Detailed Description

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

This is NumPy's legacy MT19937 core, including its scalar seeding rule. It intentionally does not use std::mt19937: the standard fixes the generator recurrence but not NumPy RandomState's seed expansion and draw adapters, and line-opt requires the same word stream in every language so Differential Evolution follows the same trajectory for a fixed seed.

Definition in file mt19937.h.