de.cesr.sesamgim.init.plz
Class GDefaultPlzInitialiseService<AgentType extends GimMilieuAgent<AgentType>>

java.lang.Object
  extended by de.cesr.sesamgim.init.plz.GDefaultPlzInitialiseService<AgentType>
All Implemented Interfaces:
GimPlzInitialiseService<AgentType>

public class GDefaultPlzInitialiseService<AgentType extends GimMilieuAgent<AgentType>>
extends Object
implements GimPlzInitialiseService<AgentType>

In case GPlzWiseAreaAgentInitialiser is applied, a special implementation of GimPlzContext is required. SesamGIM - Geographical Initialisation for Milieu Agents


Constructor Summary
GDefaultPlzInitialiseService()
           
 
Method Summary
 Class<? extends GimPlzContext> getPlzContextClass(repast.simphony.context.Context<Object> superContext)
           
 GimPlzContext<AgentType> initPlz()
          Called to initialise a new PLZ context instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDefaultPlzInitialiseService

public GDefaultPlzInitialiseService()
Method Detail

getPlzContextClass

public Class<? extends GimPlzContext> getPlzContextClass(repast.simphony.context.Context<Object> superContext)
Specified by:
getPlzContextClass in interface GimPlzInitialiseService<AgentType extends GimMilieuAgent<AgentType>>
Returns:
See Also:
GimPlzInitialiseService.getPlzContextClass(repast.simphony.context.Context)

initPlz

public GimPlzContext<AgentType> initPlz()
Description copied from interface: GimPlzInitialiseService
Called to initialise a new PLZ context instance.

Specified by:
initPlz in interface GimPlzInitialiseService<AgentType extends GimMilieuAgent<AgentType>>
Returns:
the newly instantiated agent
See Also:
GimPlzInitialiseService.initPlz()