Class FastGeometric
java.lang.Object
org.elasticsearch.search.aggregations.bucket.sampler.random.FastGeometric
Specialized class for randomly sampling values from the geometric distribution
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FastGeometric
- Parameters:
randomGen
- random integer supplierp
- the probability of success, must be between (0.0-1.0)
-
-
Method Details
-
next
public int next()- Returns:
- The next random sample from the geometric distribution
-