public class ProbFairnessStatistic extends FairnessStatistic implements ReflectionConstructable3<SimNode,Parameters,java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
protected double |
nextEndOfInterval |
protected int |
noOfIds |
protected int |
noOfIntervals |
protected double[][] |
specialBlockSums |
protected double |
timeBase |
protected double[][] |
totalBlockSums |
blockCoVSums, blockFISums, covBatchMeans, fiBatchMeans, ldMaxBlockSize, ldMinBlockSize, minBlockSize, noOfBlocks, traceFile, traceFileName
sampleIndex, simNode, traceWriter
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
ProbFairnessStatistic(int noOfIds,
double timeBase,
int ldMinBlockSize,
int ldMaxBlockSize,
java.lang.String traceFileName,
SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
static ProbFairnessStatistic |
createInstance(SimNode ownNode,
Parameters pars,
java.lang.Integer noOfIds)
as required by
ReflectionConstructable |
void |
update(double currentTime,
int id,
boolean isSpecial) |
void |
update(double currentTime,
int id,
boolean isSpecial,
double weight) |
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 timeBase
protected double nextEndOfInterval
protected int noOfIntervals
protected final double[][] totalBlockSums
protected final double[][] specialBlockSums
public ProbFairnessStatistic(int noOfIds, double timeBase, int ldMinBlockSize, int ldMaxBlockSize, java.lang.String traceFileName, SimNode ownNode)
public static ProbFairnessStatistic createInstance(SimNode ownNode, Parameters pars, java.lang.Integer noOfIds)
ReflectionConstructable
public void update(double currentTime, int id, boolean isSpecial, double weight)
public final void update(double currentTime, int id, boolean isSpecial)