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, traceFileNamesampleIndex, simNode, traceWriterCREATE_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, handleStopTransientPhase, importBatch, printResults, resetBatchStatistic, resetStatisticaddResultTag, addResultTag, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, printComments, update, writeTraceEntryprotected 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)
ReflectionConstructablepublic void update(int id,
double sample)
public double getNoOfSamples()