public abstract class CondMeanStatistic extends Statistic implements ReflectionConstructable2<SimNode,Parameters>, ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double>
sampleIndex, simNode, traceWriter
CREATE_INSTANCE_METHOD_NAME
Modifier and Type | Method and Description |
---|---|
static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> |
create(SimNode ownNode,
BucketUtility bucketUtility)
Convenience method which creates something that closely resembles an
object of class
CondMeanStatistic as present in previous versions
of this library. |
static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> |
create(SimNode ownNode,
double min,
double max,
int noOfBuckets) |
static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
addResultTag, addResultTag, computeMeasures, disableTracing, enableTracing, handleInitSimulation, handleStartBatch, handleStartTransientPhase, handleStopBatch, handleStopTransientPhase, printComments, resetBatchStatistic, resetStatistic, update, writeTraceEntry
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
update
public static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> create(SimNode ownNode, BucketUtility bucketUtility)
CondMeanStatistic
as present in previous versions
of this library.
Values are recorded in an overall statistic and in one out of a set of statistics which depend on the key (or condentiator).
The difference to the old implementation is that the mean of the bucket is not printed to the result file (it does not make sense for all types of buckets, e.g. logarithmic ones).
ownNode
- a SimNode
, which serves as the parent for the overall
and the bucket statisticsbucketUtility
- a class defining the bucketspublic static ConditionalUnweightedStatistic<java.lang.Double,java.lang.Double> create(SimNode ownNode, double min, double max, int noOfBuckets)
create(SimNode, BucketUtility)