Uses of Class
org.uncommons.maths.random.Probability
Packages that use Probability
Package
Description
This package provides deterministic, repeatable, pseudo-random number
generators, a set of strategies for seeding them, and classes for generating
values from different probability distributions.
-
Uses of Probability in org.uncommons.maths.random
Classes in org.uncommons.maths.random that implement interfaces with type arguments of type ProbabilityFields in org.uncommons.maths.random declared as ProbabilityModifier and TypeFieldDescriptionstatic final ProbabilityProbability.EVENSConvenient constant representing a probability of 0.5 (used to model an event that has a 50/50 chance of occurring).static final ProbabilityProbability.ONEConvenient constant representing a probability of one.static final ProbabilityProbability.ZEROConvenient constant representing a probability of zero.Methods in org.uncommons.maths.random that return ProbabilityModifier and TypeMethodDescriptionProbability.getComplement()The complement of a probability p is 1 - p.Methods in org.uncommons.maths.random with parameters of type ProbabilityModifier and TypeMethodDescriptionintProbability.compareTo(Probability other) Compares this value with the specified object for order.