haifa.shopsim.lab
Class RichStatisticsCollector

java.lang.Object
  |
  +--haifa.shopsim.lab.StatisticsCollector
        |
        +--haifa.shopsim.lab.RichStatisticsCollector
All Implemented Interfaces:
java.util.EventListener, ShopChangeListener

public class RichStatisticsCollector
extends StatisticsCollector

This is a statitiscis collector that creates a RichShopStatittics object.

Version:
0.60

Field Summary
(package private)  java.lang.String algorithmName
          The algorithm name.
(package private)  java.lang.String jbsFileName
          The name of the .jbs file used to create the shop.
(package private)  java.lang.String randomMaker
          The random time maker name.
 
Fields inherited from class haifa.shopsim.lab.StatisticsCollector
finishedStatistics, lastEventWasWillingRest, lastTimes, shopData, shopState, shopStatistics
 
Constructor Summary
RichStatisticsCollector(ShopData shopData_, ShopState shopState_, java.lang.String jbsFileName_, java.lang.String randomMaker_, java.lang.String algorithmName_)
          Creates new RichStatisticsCollector
 
Method Summary
 void shopChanged(ShopChangeEvent sce)
          Recacts to changes in the shop and collects stats.
 
Methods inherited from class haifa.shopsim.lab.StatisticsCollector
getStats, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

jbsFileName

java.lang.String jbsFileName
The name of the .jbs file used to create the shop.

randomMaker

java.lang.String randomMaker
The random time maker name.

algorithmName

java.lang.String algorithmName
The algorithm name.
Constructor Detail

RichStatisticsCollector

public RichStatisticsCollector(ShopData shopData_,
                               ShopState shopState_,
                               java.lang.String jbsFileName_,
                               java.lang.String randomMaker_,
                               java.lang.String algorithmName_)
Creates new RichStatisticsCollector
Method Detail

shopChanged

public void shopChanged(ShopChangeEvent sce)
Recacts to changes in the shop and collects stats.
Overrides:
shopChanged in class StatisticsCollector