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