|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulg.montefiore.run.totem.util.distribution.UniformFloatDistribution
public class UniformFloatDistribution
This class implements a uniform float distribution.
Creation date: 1-Jan-2004
| Constructor Summary | |
|---|---|
UniformFloatDistribution(double lower,
double upper)
Initialises a newly created UniformFloatDistribution
object. |
|
| Method Summary | |
|---|---|
double |
generate()
Returns a double value according to the uniform float
distribution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformFloatDistribution(double lower,
double upper)
UniformFloatDistribution
object.
lower - The lowest value this object must return (exclusive).upper - The highest value this object must return (exclusive).
java.lang.IllegalArgumentException - If lower is >= than
upper.| Method Detail |
|---|
public double generate()
double value according to the uniform float
distribution.
generate in interface Distribution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||