io.nosqlbench.virtdata.library.curves4.discrete.int_int.Pascal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package io.nosqlbench.virtdata.library.curves4.discrete.int_int;
import io.nosqlbench.virtdata.api.annotations.Categories;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import org.apache.commons.statistics.distribution.PascalDistribution;
/**
* @see Commons JavaDoc: PascalDistribution
*
* @see Wikipedia: Negative binomial distribution
*
* {@inheritDoc}
*/
@ThreadSafeMapper
@Categories({Category.distributions})
public class Pascal extends IntToIntDiscreteCurve {
public Pascal(int r, double p, String... modslist) {
super(new PascalDistribution(r, p), modslist);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy