massim.competition2011
Class GraphSimulationVisualizationObserver
java.lang.Object
massim.competition2011.GraphSimulationVisualizationObserver
- All Implemented Interfaces:
- Component, Observer
public class GraphSimulationVisualizationObserver
- extends java.lang.Object
- implements Observer
This VisualizationObserver takes care about the visualization (svg-files).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simulationName
public static java.lang.String simulationName
tournamentName
public java.lang.String tournamentName
output
protected GraphPolicy output
outputFolder
protected java.lang.String outputFolder
laststep
protected int laststep
GraphSimulationVisualizationObserver
public GraphSimulationVisualizationObserver(java.lang.String visualisationobserverOutputPath)
GraphSimulationVisualizationObserver
public GraphSimulationVisualizationObserver()
notifySimulationStart
public void notifySimulationStart()
- Specified by:
notifySimulationStart
in interface Observer
notifySimulationConfiguration
public void notifySimulationConfiguration(SimulationConfiguration simconf)
- Specified by:
notifySimulationConfiguration
in interface Observer
notifySimulationEnd
public void notifySimulationEnd()
- Specified by:
notifySimulationEnd
in interface Observer
notifySimulationState
public void notifySimulationState(SimulationState state)
- Specified by:
notifySimulationState
in interface Observer
drawBackground
protected void drawBackground(SimulationWorldState s_state)
drawSimulation
protected void drawSimulation(int step,
SimulationWorldState s_state,
AgentState[] agentstates)
start
public void start()
- Description copied from interface:
Component
- Tell the component to start activity.
- Specified by:
start
in interface Component
stop
public void stop()
- Description copied from interface:
Component
- Tell the component to cease activity.
- Specified by:
stop
in interface Component
Copyright © 2012. All Rights Reserved.