Package jsl.modeling.elements.variable
Class TWBatchingElement.TWBatchStatisticObserver
- java.lang.Object
-
- jsl.observers.ModelElementObserver
-
- jsl.observers.variable.BatchStatisticObserver
-
- jsl.modeling.elements.variable.TWBatchingElement.TWBatchStatisticObserver
-
- All Implemented Interfaces:
ObserverIfc
,GetNameIfc
,IdentityIfc
- Enclosing class:
- TWBatchingElement
public class TWBatchingElement.TWBatchStatisticObserver extends BatchStatisticObserver
-
-
Field Summary
Fields Modifier and Type Field Description protected TimeWeighted
myTW
protected WeightedStatistic
myWithinBatchStats
-
Fields inherited from class jsl.observers.variable.BatchStatisticObserver
myBatchStats, myWarmUpEventCheckFlag
-
Fields inherited from class jsl.observers.ModelElementObserver
myName
-
-
Constructor Summary
Constructors Constructor Description TWBatchStatisticObserver(TimeWeighted tw)
TWBatchStatisticObserver(TimeWeighted tw, int minNumBatches, int minBatchSize, int maxNBMultiple)
TWBatchStatisticObserver(TimeWeighted tw, int minNumBatches, int minBatchSize, int maxNBMultiple, java.lang.String name)
TWBatchStatisticObserver(TimeWeighted tw, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
batch()
Causes the observer to collect the batch statisticsprotected void
beforeReplication(ModelElement m, java.lang.Object arg)
protected TimeWeighted
getTimeWeighted()
Returns the observed TimeWeightedprotected void
update(ModelElement m, java.lang.Object arg)
protected void
warmUp(ModelElement m, java.lang.Object arg)
-
Methods inherited from class jsl.observers.variable.BatchStatisticObserver
beforeExperiment, getBatchStatistics, setConfidenceLevel, toString
-
Methods inherited from class jsl.observers.ModelElementObserver
afterExperiment, afterReplication, getId, getModelElement, getName, initialize, montecarlo, removedFromModel, replicationEnded, setModelElement, setName, timedUpdate, update
-
-
-
-
Field Detail
-
myWithinBatchStats
protected WeightedStatistic myWithinBatchStats
-
myTW
protected TimeWeighted myTW
-
-
Constructor Detail
-
TWBatchStatisticObserver
public TWBatchStatisticObserver(TimeWeighted tw)
-
TWBatchStatisticObserver
public TWBatchStatisticObserver(TimeWeighted tw, java.lang.String name)
-
TWBatchStatisticObserver
public TWBatchStatisticObserver(TimeWeighted tw, int minNumBatches, int minBatchSize, int maxNBMultiple)
-
TWBatchStatisticObserver
public TWBatchStatisticObserver(TimeWeighted tw, int minNumBatches, int minBatchSize, int maxNBMultiple, java.lang.String name)
-
-
Method Detail
-
getTimeWeighted
protected final TimeWeighted getTimeWeighted()
Returns the observed TimeWeighted- Returns:
- the observed TimeWeighted
-
beforeReplication
protected void beforeReplication(ModelElement m, java.lang.Object arg)
- Overrides:
beforeReplication
in classBatchStatisticObserver
-
update
protected void update(ModelElement m, java.lang.Object arg)
- Overrides:
update
in classBatchStatisticObserver
-
warmUp
protected void warmUp(ModelElement m, java.lang.Object arg)
- Overrides:
warmUp
in classBatchStatisticObserver
-
batch
protected void batch()
Causes the observer to collect the batch statistics
-
-