Package com.anylogic.engine
- All Superinterfaces:
AgentExtension
,ExtEnvironmentInteractive
,java.io.Serializable
- All Known Subinterfaces:
ExtEnvironmentContinuous
,ExtEnvironmentGIS
public interface ExtEnvironmentWithMetrics extends ExtEnvironmentInteractive
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
void |
connectAllInRange_xjal() |
|
double |
getNetworkConnectionRange() |
Returns the range of agent connections.
|
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.
|
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
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.
- Parameters:
connectionRange
- the maximum distance between connected agents
double getNetworkConnectionRange()
Returns the range of agent connections.
Applies to "all in range" network.
- Returns:
- the range of agent connections
@AnyLogicInternalAPI void connectAllInRange_xjal()
-
How can we improve this article?
-