massim.gridsimulations
Class SimulationXMLStatisticsObserverAverageScore
java.lang.Object
java.util.Observable
massim.framework.XMLOutputObserver
massim.gridsimulations.SimulationXMLStatisticsObserverAverageScore
- All Implemented Interfaces:
- Component, Observer
- Direct Known Subclasses:
- GridSimulationXMLStatisticsObserver
public class SimulationXMLStatisticsObserverAverageScore
- extends XMLOutputObserver
* This XMLObserver provides the simulation statistics for the results page of the web server.
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
SimulationXMLStatisticsObserverAverageScore
public SimulationXMLStatisticsObserverAverageScore()
- 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 © 2011. All Rights Reserved.