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
|
sequencepublic 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()
UnivariateSequenceGeneratorrandom in class UnivariateSequenceGeneratorpublic SingleSequenceAgnosticMetrics sequence(int iNumEntry, R1 distPopulation)
UnivariateSequenceGeneratorsequence in class UnivariateSequenceGeneratoriNumEntry - Number of Entries in the SequencedistPopulation - The True Underlying Generator Distribution of the Population