sajas.sim.repasts
Class RepastSLauncher
java.lang.Object
sajas.sim.repasts.RepastSLauncher All Implemented Interfaces:
-
public abstract class RepastSLauncher
extends Object
implements repast.simphony.dataLoader.ContextBuilder<Object>, AgentScheduler A SAJaS launcher for the Repast Simphony simulation framework.
Author:
-
hlc
Method Summary |
repast.simphony.context.Context |
build(repast.simphony.context.Context<Object> context) |
abstract String |
getName() Gets the name of the simulation. |
protected abstract void |
launchJADE() Launch JADE and the multi-agent system related with this simulation. |
void |
scheduleAgent(Agent agent) Simulation framework-specific method for scheduling an agent for execution. |
void |
stopSimulation() Simulation framework-specific method for stopping the simulation. |
boolean |
unscheduleAgent(Agent agent) Simulation framework-specific method for unscheduling an agent from execution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepastSLauncher
public RepastSLauncher()
getName
public abstract String getName()
-
Gets the name of the simulation.
build
public repast.simphony.context.Context build(repast.simphony.context.Context<Object> context)
-
Specified by:
-
build in interface repast.simphony.dataLoader.ContextBuilder<T>
launchJADE
protected abstract void launchJADE()
-
Launch JADE and the multi-agent system related with this simulation.
This method is invoked after the simulation has been setup.
Subclasses should include in this method every JADE-related startup code (JADE runtime, agents, ...).
scheduleAgent
public void scheduleAgent(Agent agent) -
Simulation framework-specific method for scheduling an agent for execution.
Specified by:
-
unscheduleAgent
public boolean unscheduleAgent(Agent agent) -
Simulation framework-specific method for unscheduling an agent from execution.
Specified by:
-
stopSimulation
public void stopSimulation()
-
Simulation framework-specific method for stopping the simulation.
Specified by:
-
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com