public abstract class CondProbabilityStatistic extends Statistic implements ReflectionConstructable2<SimNode,Parameters>, ConditionalUnweightedStatistic<java.lang.Double,java.lang.Boolean>, ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long>
sampleIndex, simNode, traceWriter
CREATE_INSTANCE_METHOD_NAME
Modifier and Type | Method and Description |
---|---|
static ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> |
create(SimNode ownNode,
BucketUtility bucketUtility)
Convenience method which creates something that closely resembles an
object of class
CondProbabilityStatistic as present in previous
versions of this library. |
static ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> |
create(SimNode ownNode,
double min,
double max,
int noOfBuckets) |
static ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> |
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
update
public static ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public static ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> create(SimNode ownNode, BucketUtility bucketUtility)
CondProbabilityStatistic
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 ConditionalWeightedStatistic<java.lang.Double,java.lang.Boolean,java.lang.Long> create(SimNode ownNode, double min, double max, int noOfBuckets)
create(SimNode, BucketUtility)