public class PercentileEstimatorRanked extends PercentileEstimatorBase
values
Constructor and Description |
---|
PercentileEstimatorRanked(String configKey,
String defaultPList,
int arraySize) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(long value,
long count,
long min,
long max) |
protected void |
condenseValues() |
protected double |
getInterpolatedPercentile(int p,
long count,
long min,
long max) |
protected long |
getInterpolatedRank(long value,
long rankBefore,
long rankAfter,
long valueBefore,
long valueAfter) |
double |
getPercentileEstimate(int index,
long count,
long min,
long max) |
XmlBuilder |
getSample(int index,
long count,
long min,
long max) |
int |
getSampleCount(long count,
long min,
long max) |
getInterpolatedPercentile, getNumPercentiles, getPercentage, storeFirstValue
protected void condenseValues()
protected long getInterpolatedRank(long value, long rankBefore, long rankAfter, long valueBefore, long valueAfter)
public void addValue(long value, long count, long min, long max)
addValue
in interface PercentileEstimator
addValue
in class PercentileEstimatorBase
protected double getInterpolatedPercentile(int p, long count, long min, long max)
public double getPercentileEstimate(int index, long count, long min, long max)
getPercentileEstimate
in interface PercentileEstimator
getPercentileEstimate
in class PercentileEstimatorBase
public int getSampleCount(long count, long min, long max)
getSampleCount
in interface PercentileEstimator
getSampleCount
in class PercentileEstimatorBase
public XmlBuilder getSample(int index, long count, long min, long max)
getSample
in interface PercentileEstimator
getSample
in class PercentileEstimatorBase
Copyright © 2023 Frank!Framework. All rights reserved.