Modifier and Type | Field and Description |
---|---|
static String |
CSS_CONTENT |
protected int |
laststep |
protected GraphPolicy |
output |
protected String |
outputFolder |
static String |
simulationName |
String |
tournamentName |
Constructor and Description |
---|
GraphSimulationVisualizationObserver() |
GraphSimulationVisualizationObserver(String visualisationobserverOutputPath) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground(SimulationWorldState s_state) |
protected void |
drawSimulation(int step,
SimulationWorldState s_state,
AgentState[] agentstates) |
void |
notifySimulationConfiguration(SimulationConfiguration simconf) |
void |
notifySimulationEnd() |
void |
notifySimulationStart() |
void |
notifySimulationState(SimulationState state) |
void |
start()
Tell the component to start activity.
|
void |
stop()
Tell the component to cease activity.
|
public static String simulationName
public String tournamentName
protected GraphPolicy output
protected String outputFolder
protected int laststep
public static final String CSS_CONTENT
public GraphSimulationVisualizationObserver(String visualisationobserverOutputPath)
public GraphSimulationVisualizationObserver()
public void notifySimulationStart()
notifySimulationStart
in interface Observer
public void notifySimulationConfiguration(SimulationConfiguration simconf)
notifySimulationConfiguration
in interface Observer
public void notifySimulationEnd()
notifySimulationEnd
in interface Observer
public void notifySimulationState(SimulationState state)
notifySimulationState
in interface Observer
protected void drawBackground(SimulationWorldState s_state)
protected void drawSimulation(int step, SimulationWorldState s_state, AgentState[] agentstates)
public void start()
Component
Copyright © 2013. All Rights Reserved.