public abstract class AutoCorrelationStatistic extends Statistic implements Printable
AutoCorrelationStatistic
is the base class for auto-correlation
statistics.sampleIndex, simNode, traceWriter
Constructor and Description |
---|
AutoCorrelationStatistic(SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
abstract double |
getCoefficient(int index) |
abstract double |
getCoefficientConfidenceInterval(int index) |
abstract double |
getCovariance(int index) |
abstract double |
getCovarianceConfidenceInterval(int index) |
abstract int |
getLag() |
abstract double |
getNoOfSamples(int index) |
java.lang.String |
getResultTypeName() |
void |
printResults(ResultType type,
PrintResultWriter writer) |
abstract void |
resetSampleArray() |
void |
update(double sample) |
abstract void |
update(double sample,
boolean useValue) |
addResultTag, addResultTag, computeMeasures, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, resetBatchStatistic, resetStatistic, update, writeTraceEntry
public AutoCorrelationStatistic(SimNode ownNode)
public void printResults(ResultType type, PrintResultWriter writer)
printResults
in interface Printable
public java.lang.String getResultTypeName()
getResultTypeName
in interface Printable
public abstract void update(double sample, boolean useValue)
public final void update(double sample)
public abstract void resetSampleArray()
public abstract double getCoefficient(int index)
public abstract double getCoefficientConfidenceInterval(int index)
public abstract double getCovariance(int index)
public abstract double getCovarianceConfidenceInterval(int index)
public abstract double getNoOfSamples(int index)
public abstract int getLag()