public class SampleFairnessStatistic extends FairnessStatistic implements ReflectionConstructable3<SimNode,Parameters,java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
protected double[][] |
blockSums |
protected int |
noOfIds |
protected int |
noOfSamples |
blockCoVSums, blockFISums, covBatchMeans, fiBatchMeans, ldMaxBlockSize, ldMinBlockSize, minBlockSize, noOfBlocks, traceFile, traceFileName
sampleIndex, simNode, traceWriter
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
SampleFairnessStatistic(int noOfIds,
int ldMinBlockSize,
int ldMaxBlockSize,
java.lang.String traceFileName,
SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
static SampleFairnessStatistic |
createInstance(SimNode ownNode,
Parameters pars,
java.lang.Integer noOfIds)
as required by
ReflectionConstructable |
double |
getNoOfSamples() |
void |
update(int id,
double sample) |
computeMeasures, exportBatch, getBatchCoV, getCoVConfInterval, getCoVMean, getFIConfInterval, getFIMean, getResultTypeName, handleStopTransientPhase, importBatch, printResults, resetBatchStatistic, resetStatistic
addResultTag, addResultTag, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, printComments, update, writeTraceEntry
protected final int noOfIds
protected final double[][] blockSums
protected int noOfSamples
public SampleFairnessStatistic(int noOfIds, int ldMinBlockSize, int ldMaxBlockSize, java.lang.String traceFileName, SimNode ownNode)
public static SampleFairnessStatistic createInstance(SimNode ownNode, Parameters pars, java.lang.Integer noOfIds)
ReflectionConstructable
public void update(int id, double sample)
public double getNoOfSamples()