public class SimulationXMLStatisticsObserver extends XMLOutputObserver
Modifier and Type | Field and Description |
---|---|
static String |
outputFolder |
static String |
simulationName |
String |
tournamentName |
Constructor and Description |
---|
SimulationXMLStatisticsObserver()
This constructor appends the statistic-element to the document.
|
Modifier and Type | Method and Description |
---|---|
void |
notifySimulationEnd() |
void |
notifySimulationStart() |
void |
notifySimulationState(SimulationState state) |
void |
start()
Tell the component to start activity.
|
void |
stop()
Tell the component to cease activity.
|
getDocument, notifySimulationConfiguration, resetDocument, setDocument
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public static String outputFolder
public static String simulationName
public String tournamentName
public SimulationXMLStatisticsObserver()
public void notifySimulationStart()
notifySimulationStart
in interface Observer
notifySimulationStart
in class XMLOutputObserver
public void notifySimulationEnd()
notifySimulationEnd
in interface Observer
notifySimulationEnd
in class XMLOutputObserver
public void notifySimulationState(SimulationState state)
notifySimulationState
in interface Observer
notifySimulationState
in class XMLOutputObserver
public void start()
Component
public void stop()
Component
Copyright © 2013. All Rights Reserved.