public class SimulationContext
extends repast.simphony.context.DefaultContext<java.lang.Object>
implements repast.simphony.dataLoader.ContextBuilder<java.lang.Object>
This class is where the simulation starts. It sets up the Repast "context" and "projections" for the simulation. The context holds the Employee agents, and the main projection is continuous space at the Employer workplace.
| Constructor and Description |
|---|
SimulationContext() |
| Modifier and Type | Method and Description |
|---|---|
repast.simphony.context.Context<java.lang.Object> |
build(repast.simphony.context.Context<java.lang.Object> pContext)
Establishes the simulation's "context" and instantiates the Environment.
|
getObjects, getRandomObject, getRandomObjects, removeAll, retainAlladd, addContextListener, addProjection, addSubContext, addValueLayer, clear, contains, eventOccured, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, iterator, query, remove, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setId, setTypeID, sizeaddAll, containsAll, isEmpty, toArray, toArray, toStringpublic repast.simphony.context.Context<java.lang.Object> build(repast.simphony.context.Context<java.lang.Object> pContext)
build in interface repast.simphony.dataLoader.ContextBuilder<java.lang.Object>