Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.sim.repasts
Class RepastSLauncher
java.lang.Object
  sajas.sim.repasts.RepastSLauncher
All Implemented Interfaces:
repast.simphony.dataLoader.ContextBuilder<Object>, AgentScheduler

public abstract class RepastSLauncher
extends Object
implements repast.simphony.dataLoader.ContextBuilder<Object>, AgentScheduler
A SAJaS launcher for the Repast Simphony simulation framework.
Author:
hlc

Constructor Summary
RepastSLauncher()
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
Constructor Detail
RepastSLauncher
public RepastSLauncher()
Method Detail
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)
Description copied from interface: AgentScheduler
Simulation framework-specific method for scheduling an agent for execution.
Specified by:
scheduleAgent in interface AgentScheduler

unscheduleAgent
public boolean unscheduleAgent(Agent agent)
Description copied from interface: AgentScheduler
Simulation framework-specific method for unscheduling an agent from execution.
Specified by:
unscheduleAgent in interface AgentScheduler

stopSimulation
public void stopSimulation()
Description copied from interface: AgentScheduler
Simulation framework-specific method for stopping the simulation.
Specified by:
stopSimulation in interface AgentScheduler

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
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