|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprobability_distribution.ProbabilityDist
probability_distribution.UniformDist
public class UniformDist
This class implements the Exponential distribution.
| Constructor Summary | |
|---|---|
UniformDist(double percentage)
Invoking this is equivalent to invoke UniformDist(1, percentage, true) |
|
UniformDist(double lowerLimit,
double upperLimit)
A constructor that produce a UniformDist object that return number between a lowerLimit and a upperLimit of range. |
|
UniformDist(double ammount,
double percentage,
boolean dummy)
A constructor that produce a UniformDist object that return number between a amount - (percentage*amount) and a amount + (percentage*amount). |
|
| Method Summary | |
|---|---|
double |
FInverse(double x)
Every Probability Distribution should include a function which returns the inverse of probability function |
| Methods inherited from class probability_distribution.ProbabilityDist |
|---|
getNextValue, getTimeToNextEvent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformDist(double lowerLimit,
double upperLimit)
lowerLimit - defines the beginning of the range.upperLimit - defines the end of the range.
public UniformDist(double ammount,
double percentage,
boolean dummy)
ammount - defines the mean of this distributionpercentage - determine the length of the range. (amount * percentage *2) is
the length of the range.dummy - just a dummy value to distinguish this constructor from the
other onespublic UniformDist(double percentage)
percentage - determine the length of the range. (percentage * 2) is
the length of the range.| Method Detail |
|---|
public double FInverse(double x)
ProbabilityDist
FInverse in class ProbabilityDistProbabilityDist.getNextValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||