public class TruncatingCollectionSizeTimeVarying extends CollectionSizeTimeVaryingStats
Modifier and Type | Field and Description |
---|---|
protected boolean |
truncated |
private double |
truncationPoint |
diff, eventList, lastTime, mean, startTime, variance
count, DEFAULT_NAME, DEFAULT_NUMBER_FORMAT, maxObs, minObs, name, numberFormat
EOL
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) |
propertyChange
getEventList, getEventListID, getMean, getSamplingType, getStandardDeviation, getStartTime, getVariance, setEventList, setEventListID, setSamplingType
clone, getCount, getDataLine, getMaxObs, getMinObs, getName, newObservation, newObservation, newObservation, setName, setNumberFormat, toString
public TruncatingCollectionSizeTimeVarying(java.lang.String name, double truncationPoint)
public TruncatingCollectionSizeTimeVarying(double truncationPoint)
public void reset()
SampleStatistics
reset
in interface SampleStatistics
reset
in class SimpleStatsTimeVarying
public void newObservation(double x)
SampleStatistics
newObservation
in interface SampleStatistics
newObservation
in class SimpleStatsTimeVarying
x
- The new (primitive) observationpublic boolean isTruncated()
public double getTruncationPoint()
public void setTruncationPoint(double truncationPoint)