- All Superinterfaces:
AgentExtension
,ExtEnvironmentInteractive
,Serializable
- All Known Subinterfaces:
ExtEnvironmentContinuous
,ExtEnvironmentGIS
public interface ExtEnvironmentWithMetrics extends ExtEnvironmentInteractive
Modifier and Type | Method | Description |
---|---|---|
void | connectAllInRange_xjal() | |
double | getNetworkConnectionRange() |
Returns the range of agent connections.
|
void | setNetworkAllInRange |
Sets network type to the one when agents are connected if the
distance between them is not longer that a given one.
|
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()