Package dev.roanh.gmark.core.dist
Class UniformDistribution
java.lang.Object
dev.roanh.gmark.core.dist.UniformDistribution
- All Implemented Interfaces:
Distribution
Represents a uniform distribution where
number are uniformly distributed between
some given minimum and maximum number.
-
Field Summary
Fields inherited from interface dev.roanh.gmark.core.Distribution
UNDEFINED
-
Constructor Summary
ConstructorDescriptionUniformDistribution
(Element data) Constructs a new uniform distribution from the given configuration XML element. -
Method Summary
-
Constructor Details
-
UniformDistribution
Constructs a new uniform distribution from the given configuration XML element.- Parameters:
data
- The XML element to parse.
-
-
Method Details
-
getType
Description copied from interface:Distribution
Gets the type of this distribution.- Specified by:
getType
in interfaceDistribution
- Returns:
- The type of this distribution.
-