Package net.bmahe.genetics4j.core.util
Class DistributionUtils
java.lang.Object
net.bmahe.genetics4j.core.util.DistributionUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondistributionFloatValueSupplier
(RandomGenerator randomGenerator, float minValue, float maxValue, Distribution distribution) distributionValueSupplier
(RandomGenerator randomGenerator, double minValue, double maxValue, Distribution distribution)
-
Constructor Details
-
DistributionUtils
public DistributionUtils()
-
-
Method Details
-
distributionValueSupplier
public static Supplier<Double> distributionValueSupplier(RandomGenerator randomGenerator, double minValue, double maxValue, Distribution distribution) -
distributionFloatValueSupplier
public static Supplier<Float> distributionFloatValueSupplier(RandomGenerator randomGenerator, float minValue, float maxValue, Distribution distribution)
-