Package com.anylogic.engine
- All Superinterfaces:
AgentExtension
,Serializable
public interface ExtSpace extends AgentExtension
This extension:
- Tracks moving agents (either straight movement or through network or on the GIS map)
- Owns animator for agents created dynamically in flowcharts and for agents which jumped from their original space (implemented using replicated embedded object presentation shape)
Modifier and Type | Method | Description |
---|---|---|
void | addAgent | |
void | addMovingAgent | |
AbstractShapeGISMap | getGISMap() |
In case of GIS space, returns
AbstractShapeGISMap object |
void | removeAgent | |
boolean | removeMovingAgent | |
void | setupSpace |
Sets the space to be based on given
gisMap . |
@AnyLogicInternalAPI void addAgent(Agent a)
@AnyLogicInternalAPI void removeAgent(Agent a)
@AnyLogicInternalAPI void addMovingAgent(com.anylogic.engine.AgentMovement amd)
@AnyLogicInternalAPI boolean removeMovingAgent(com.anylogic.engine.AgentMovement amd)
@AnyLogicInternalAPI void setupSpace(AbstractShapeGISMap gisMap)
Sets the space to be based on given
gisMap
.
This method should only be called when the environment is empty.- Parameters:
gisMap
- the GIS map to use in this environment, should not benull
AbstractShapeGISMap getGISMap()
In case of GIS space, returns
AbstractShapeGISMap
object- Returns:
- GIS map object used in this GIS space or
null
for other space types
Note, that returned object has the base GIS map type and for additional services it needs to be casted toShapeGISMap