massim.gridsimulations
Class SimulationXMLStatisticsObserverAverageScore

java.lang.Object
  extended by java.util.Observable
      extended by massim.framework.XMLOutputObserver
          extended by 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.


Field Summary
static java.lang.String outputFolder
           
static java.lang.String simulationName
           
 java.lang.String tournamentName
           
 
Constructor Summary
SimulationXMLStatisticsObserverAverageScore()
          This constructor appends the statistic-element to the document.
 
Method Summary
 void notifySimulationEnd()
           
 void notifySimulationStart()
           
 void notifySimulationState(SimulationState state)
           
 void start()
          Tell the component to start activity.
 void stop()
          Tell the component to cease activity.
 
Methods inherited from class massim.framework.XMLOutputObserver
getDocument, notifySimulationConfiguration, resetDocument, setDocument
 
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
 

Field Detail

outputFolder

public static java.lang.String outputFolder

simulationName

public static java.lang.String simulationName

tournamentName

public java.lang.String tournamentName
Constructor Detail

SimulationXMLStatisticsObserverAverageScore

public SimulationXMLStatisticsObserverAverageScore()
This constructor appends the statistic-element to the document.

Method Detail

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.