Method Summary |
|
public void | closeReplayFile() Closes valuesFileURL after use in REPLAY_MODE. |
public void | computeDistribution() Computes the empirical distribution using values from the file
in valuesFileURL , using the default number of bins. |
public void | computeDistribution(int binCount) Computes the empirical distribution using values from the file
in valuesFileURL and binCount bins. |
public void | fill(double[] values) Fills the input array with values generated using getNext() repeatedly. |
public double[] | fill(int length) Returns an array of length length with values generated
using getNext() repeatedly. |
public EmpiricalDistribution | getEmpiricalDistribution() Getter for property empiricalDistribution. |
public int | getMode() Getter for property mode. |
public double | getMu() Getter for property mu. |
public double | getNext() Returns the next generated value, generated according
to the mode value (see MODE constants). |
public double | getSigma() Getter for property sigma. |
public URL | getValuesFileURL() |
public void | resetReplayFile() Resets REPLAY_MODE file pointer to the beginning of the valuesFileURL . |
public void | setMode(int mode) Setter for property mode. |
public void | setMu(double mu) Setter for property mu. |
public void | setSigma(double sigma) Setter for property sigma. |
public void | setValuesFileURL(String url) |
public void | setValuesFileURL(URL url) |