public class BoundedUniformInteger extends UnivariateSequenceGenerator
Constructor and Description |
---|
BoundedUniformInteger(int iStart,
int iFinish)
BoundedUniformInteger Distribution Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
finish()
Retrieve the Finish
|
double |
random()
Generate a Random Number according to the specified rule
|
SingleSequenceAgnosticMetrics |
sequence(int iNumEntry,
R1 distPopulation)
Generate a Random Sequence along with its Metrics
|
int |
start()
Retrieve the Start
|
sequence
public BoundedUniformInteger(int iStart, int iFinish) throws java.lang.Exception
iStart
- The Lower BoundiFinish
- The Upper Boundjava.lang.Exception
- Thrown if the Inputs are invalidpublic int start()
public int finish()
public double random()
UnivariateSequenceGenerator
random
in class UnivariateSequenceGenerator
public SingleSequenceAgnosticMetrics sequence(int iNumEntry, R1 distPopulation)
UnivariateSequenceGenerator
sequence
in class UnivariateSequenceGenerator
iNumEntry
- Number of Entries in the SequencedistPopulation
- The True Underlying Generator Distribution of the Population