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 TimeWeightedmyTWprotected WeightedStatisticmyWithinBatchStats-
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 voidbatch()Causes the observer to collect the batch statisticsprotected voidbeforeReplication(ModelElement m, java.lang.Object arg)protected TimeWeightedgetTimeWeighted()Returns the observed TimeWeightedprotected voidupdate(ModelElement m, java.lang.Object arg)protected voidwarmUp(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:
beforeReplicationin classBatchStatisticObserver
-
update
protected void update(ModelElement m, java.lang.Object arg)
- Overrides:
updatein classBatchStatisticObserver
-
warmUp
protected void warmUp(ModelElement m, java.lang.Object arg)
- Overrides:
warmUpin classBatchStatisticObserver
-
batch
protected void batch()
Causes the observer to collect the batch statistics
-
-