massim.gridsimulations
Class SimulationXMLStatisticsObserver
java.lang.Object
java.util.Observable
massim.framework.XMLOutputObserver
massim.gridsimulations.SimulationXMLStatisticsObserver
- All Implemented Interfaces:
- Component, Observer
- Direct Known Subclasses:
- GridSimulationXMLStatisticsObserver, GridSimulationXMLStatisticsObserver, GridSimulationXMLStatisticsObserver, GridSimulationXMLStatisticsObserver
public class SimulationXMLStatisticsObserver
- extends XMLOutputObserver
* This XMLObserver provides the simulation statistics.
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputFolder
public static java.lang.String outputFolder
simulationName
public static java.lang.String simulationName
tournamentName
public java.lang.String tournamentName
SimulationXMLStatisticsObserver
public SimulationXMLStatisticsObserver()
- This constructor appends the statistic-element to the document.
notifySimulationStart
public void notifySimulationStart()
- Specified by:
notifySimulationStart
in interface Observer
- Overrides:
notifySimulationStart
in class XMLOutputObserver
notifySimulationEnd
public void notifySimulationEnd()
- Specified by:
notifySimulationEnd
in interface Observer
- Overrides:
notifySimulationEnd
in class XMLOutputObserver
notifySimulationState
public void notifySimulationState(SimulationState state)
- Specified by:
notifySimulationState
in interface Observer
- Overrides:
notifySimulationState
in class XMLOutputObserver
start
public void start()
- Description copied from interface:
Component
- Tell the component to start activity.
stop
public void stop()
- Description copied from interface:
Component
- Tell the component to cease activity.
Copyright © 2012. All Rights Reserved.