Package jline.solvers.ldes.handlers
Class Solver_ssj.DistributionGen
java.lang.Object
umontreal.ssj.randvar.RandomVariateGen
jline.solvers.ldes.handlers.Solver_ssj.DistributionGen
- Enclosing class:
- Solver_ssj
public static class Solver_ssj.DistributionGen
extends umontreal.ssj.randvar.RandomVariateGen
Samples a declared
Distribution off an SSJ stream.
For laws whose sn.proc carries an Erlang placeholder and whose two moments
do not determine them (LogLogistic with infinite variance, MassAtOrigin with
any inner law), the declared object is the only exact source. Its
sample(n, Random) is driven by a Random that draws
every bit from the stream, so the run stays seeded and reproducible.
-
Field Summary
Fields inherited from class umontreal.ssj.randvar.RandomVariateGen
stream -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class umontreal.ssj.randvar.RandomVariateGen
getDistribution, getStream, nextArrayOfDouble, nextArrayOfDouble, setStream, toString
-
Constructor Details
-
DistributionGen
-
-
Method Details
-
nextDouble
public double nextDouble()- Overrides:
nextDoublein classumontreal.ssj.randvar.RandomVariateGen
-