public class TruncatingCollectionSizeTimeVarying extends CollectionSizeTimeVaryingStats
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
truncated |
private double |
truncationPoint |
diff, eventList, lastTime, mean, startTime, variancecount, DEFAULT_NAME, DEFAULT_NUMBER_FORMAT, maxObs, minObs, name, numberFormatEOL| Constructor and Description |
|---|
TruncatingCollectionSizeTimeVarying(double truncationPoint) |
TruncatingCollectionSizeTimeVarying(java.lang.String name,
double truncationPoint) |
| Modifier and Type | Method and Description |
|---|---|
double |
getTruncationPoint() |
boolean |
isTruncated() |
void |
newObservation(double x)
Add new observation and update counters (primitive).
|
void |
reset()
Should reset/initialize all relevant counters.
|
void |
setTruncationPoint(double truncationPoint) |
propertyChangegetEventList, getEventListID, getMean, getSamplingType, getStandardDeviation, getStartTime, getVariance, setEventList, setEventListID, setSamplingTypeclone, getCount, getDataLine, getMaxObs, getMinObs, getName, newObservation, newObservation, newObservation, setName, setNumberFormat, toStringpublic TruncatingCollectionSizeTimeVarying(java.lang.String name,
double truncationPoint)
public TruncatingCollectionSizeTimeVarying(double truncationPoint)
public void reset()
SampleStatisticsreset in interface SampleStatisticsreset in class SimpleStatsTimeVaryingpublic void newObservation(double x)
SampleStatisticsnewObservation in interface SampleStatisticsnewObservation in class SimpleStatsTimeVaryingx - The new (primitive) observationpublic boolean isTruncated()
public double getTruncationPoint()
public void setTruncationPoint(double truncationPoint)