Package cern.jet.random.sampling

Examples of cern.jet.random.sampling.WeightedRandomSampler


* @param h the tree height at which sampling shall start.
* @param precomputeEpsilon the epsilon for which quantiles shall be precomputed; set this value <=0.0 if nothing shall be precomputed.
* @param generator a uniform random number generator.
*/
public UnknownDoubleQuantileEstimator(int b, int k, int h, double precomputeEpsilon, RandomEngine generator) {
  this.sampler = new WeightedRandomSampler(1,generator);
  setUp(b,k);
  this.treeHeightStartingSampling = h;
  this.precomputeEpsilon = precomputeEpsilon;
  this.clear();
}
View Full Code Here


* @param h the tree height at which sampling shall start.
* @param precomputeEpsilon the epsilon for which quantiles shall be precomputed; set this value <=0.0 if nothing shall be precomputed.
* @param generator a uniform random number generator.
*/
public UnknownDoubleQuantileEstimator(int b, int k, int h, double precomputeEpsilon, RandomEngine generator) {
  this.sampler = new WeightedRandomSampler(1,generator);
  setUp(b,k);
  this.treeHeightStartingSampling = h;
  this.precomputeEpsilon = precomputeEpsilon;
  this.clear();
}
View Full Code Here

TOP

Related Classes of cern.jet.random.sampling.WeightedRandomSampler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.