Class FWSimStatisticContainer
java.lang.Object
net.simplace.sim.io.output.FWSimStatisticContainer
Holds the statistics (
stat elements) of an output and collects, per simulation, the output columns
they need (observed and simulated values) in a result cache. At the end of a simulation the statistics are
calculated from these caches (see FWSimOutput.calculateStatistics(String)).- Author:
- Andreas Enders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStatisticsResultCache(String aSimulationID) voidsetStatisticsResultCache(FWSimResultCache aStatisticsResultCache) voidupdate(FWSimQueueObjectMap aQueueMap) Adds the statistics columns of an output line to the result cache of its simulation; the cache is cloned from the template on the first line of a simulation.
-
Constructor Details
-
FWSimStatisticContainer
public FWSimStatisticContainer()
-
-
Method Details
-
getStatistics
- Returns:
- the statistics of the output (the live list)
-
getStatisticColmnIndices
-
getStatisticsResultCache
- Parameters:
aSimulationID- id of the simulation- Returns:
- the result cache of the simulation, or
nullif no data was collected for it
-
setStatisticsResultCache
- Parameters:
aStatisticsResultCache- the template cache that is cloned for each simulation
-
getHeaderVariables
- Returns:
- the header variables of the statistics result (the live map)
-
update
Adds the statistics columns of an output line to the result cache of its simulation; the cache is cloned from the template on the first line of a simulation.- Parameters:
aQueueMap- an output line
-