Package com.anylogic.engine
- Field Summary
- Fields inherited from interface com.anylogic.engine.AgentExtension
- Method Summary
- Methods inherited from interface com.anylogic.engine.AgentExtension
- Methods inherited from interface com.anylogic.engine.ExtEnvironmentInteractive
- Methods inherited from interface com.anylogic.engine.ExtEnvironmentWithMetrics
- Method Detail
- All Superinterfaces:
AgentExtension
,ExtEnvironmentInteractive
,ExtEnvironmentWithMetrics
,ExtWithSpaceType
,java.io.Serializable
public interface ExtEnvironmentGIS extends ExtEnvironmentInteractive, ExtEnvironmentWithMetrics, ExtWithSpaceType
Agent environment extension for continuous 2D space based on GIS map
- Author:
- AnyLogic North America, LLC https://anylogic.com
P_AGENT_INTERACTIVE_DELEGATE, P_AGENT_WITH_SPATIAL_METRICS_DELEGATE, P_AGENT_WITH_SPECIFIC_SPACE, P_AGENT_WITH_SPECIFIC_SPACE_DELEGATE, P_ENTITY_DELEGATE, P_ENV_WITH_SPECIFIC_SPACE, P_ROOT, P_SPACE, P_USER_EXT
AbstractShapeGISMap |
getGISMap() |
Deprecated.
|
double |
getNetworkConnectionRange() |
Returns the range of agent connections, it is measured in meters.
|
void |
setNetworkAllInRange(double connectionRange) |
Sets network type to the one when agents are connected if the
distance between them is not longer that a given one.
|
void |
setupSpace(AbstractShapeGISMap gisMap) |
Sets the space to be based on given
gisMap . |
Modifier and Type | Method | Description |
---|
getAgent, next_xjal, onDestroy, onExtensionRemoved, priority, setNext_xjal, supportsInterface_xjal
agents, applyNetwork, applyNetwork, areStepsEnabled, deliverToAllAgentsInside, deliverToRandomAgentInside, disableSteps, enableSteps, getNetworkConnectionsPerAgent, getNetworkNeighborLinkProbability, getNetworkScaleFreeM, getNetworkType, getSpaceType, randomAgentExcept, randomAgentExcept, randomAgentInside, randomAgentInside, register_xjal, register_xjal, setNetworkRandom, setNetworkRingLattice, setNetworkScaleFree, setNetworkSmallWorld, setNetworkType_xjal, setNetworkUserDefined, size, toStringNetwork_xjal, toStringSpace_xjal, unregister_xjal
connectAllInRange_xjal
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
@Deprecated AbstractShapeGISMap getGISMap()
Deprecated.
Returns
AbstractShapeGISMap
object used in this environment- Returns:
- GIS map object used in this environment
Note, that returned object has the base GIS map type and for additional services it needs to be casted toShapeGISMap
void setNetworkAllInRange(double connectionRange)
Sets network type to the one when agents are connected if the
distance between them is not longer that a given one. This network type
is only possible in continuous space. Call applyNetwork() to actually create
network connections.
- Specified by:
setNetworkAllInRange
in interfaceExtEnvironmentWithMetrics
- Parameters:
connectionRange
- the maximum distance between connected agents, measured in meters
double getNetworkConnectionRange()
Returns the range of agent connections, it is measured in meters.
Applies to "all in range" network.
- Specified by:
getNetworkConnectionRange
in interfaceExtEnvironmentWithMetrics
- Returns:
- the range of agent connections, measured in meters
-
How can we improve this article?
-