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