Package com.dna.jopt.framework.random
Class SeededRng
java.lang.Object
com.dna.jopt.framework.random.SeededRng
Factory for the seeded RandomGenerators used throughout the solver.
Centralised so the underlying algorithm can be swapped in one place
without touching every call site.
-
Field Details
-
ALGORITHM
The generator algorithm used across the solver.- See Also:
-
-
Method Details
-
master
Creates a new master generator seeded deterministically. -
master
Creates a new master generator with a non-deterministic seed.
-