Module de.cuioss.test.generator
Interface Distribution
- All Known Implementing Classes:
Distribution.AbstractDistribution
public interface Distribution
Normal
distribution and uniform
distribution distribution functions.
- Author:
- $Id$
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DistributionAn inverted bell curve.static final DistributionLeft side of the bell curve.static final DistributionRight side of the bell curve.static final DistributionA uniform distribution function. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGenerate the next random number for this distribution function.
-
Field Details
-
POSITIV_NORMAL
Right side of the bell curve. Values range from 0.0 to 1.0. Values near 0.0 are the most probable. -
NEGATIV_NORMAL
Left side of the bell curve. Values range from 0.0 to 1.0. Values near 1.0 are the most probable. -
INVERTED_NORMAL
An inverted bell curve. Values range from 0.0 to 1.0. Values near 0.0 and 1.0 are the most probable. -
UNIFORM
A uniform distribution function. Values range from 0.0 to 1.0.
-
-
Method Details
-
nextRandomNumber
double nextRandomNumber()Generate the next random number for this distribution function.- Returns:
- double 0 <= x <= 1.0
-