AnyLogic
Expand
Font size
All Superinterfaces:
AgentExtension, ExtEnvironmentInteractive, ExtEnvironmentWithLayout, ExtEnvironmentWithMetrics, ExtWithSpaceType, java.io.Serializable

public interface ExtEnvironmentContinuous
extends ExtEnvironmentInteractive, ExtEnvironmentWithMetrics, ExtEnvironmentWithLayout, ExtWithSpaceType
Agent environment extension for continuous (3D) space
Author:
AnyLogic North America, LLC https://anylogic.com

Field Summary

Fields inherited from interface com.anylogic.engine.AgentExtension

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

Method Summary

All Methods Instance Methods Abstract Methods 
Point randomPointOfSpace()
Returns the random location inside within the space bounds of this environment
void setupSpace​(double width, double height)
Sets the space to the given dimensions.
void setupSpace​(double width, double height, double zHeight)
Sets the space to the given dimensions.
double spaceHeight()
Returns the height of environment space.
double spaceWidth()
Returns the width of environment space.
double spaceZHeight()
Returns the height of environment space along Z-axis.
Modifier and Type Method Description

Methods inherited from interface com.anylogic.engine.AgentExtension

getAgent, next_xjal, onDestroy, onExtensionRemoved, priority, setNext_xjal, supportsInterface_xjal

Methods inherited from interface com.anylogic.engine.ExtEnvironmentInteractive

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

Methods inherited from interface com.anylogic.engine.ExtEnvironmentWithLayout

applyLayout, getLayoutType, setLayoutType

Methods inherited from interface com.anylogic.engine.ExtEnvironmentWithMetrics

connectAllInRange_xjal, getNetworkConnectionRange, setNetworkAllInRange

Method Detail

setupSpace

void setupSpace​(double width,
                double height)
Sets the space to the given dimensions. The dimension are used only when various layouts are applied and do not restrict the location or movement of the agents.
This method should only be called when the environment is empty.
Parameters:
width - the width of the space
height - the height of the space

setupSpace

void setupSpace​(double width,
                double height,
                double zHeight)
Sets the space to the given dimensions. The dimension are used only when various layouts are applied and do not restrict the location or movement of the agents.
This method should only be called when the environment is empty.
Parameters:
width - the width of the space
height - the height of the space
zHeight - the height of the space along Z-axis

spaceWidth

double spaceWidth()
Returns the width of environment space.
Returns:
the width of environment space

spaceHeight

double spaceHeight()
Returns the height of environment space.
Returns:
the height of environment space

spaceZHeight

double spaceZHeight()
Returns the height of environment space along Z-axis.
Returns:
the z-height of environment space

randomPointOfSpace

Point randomPointOfSpace()
Returns the random location inside within the space bounds of this environment
Returns:
the random location inside within the space bounds of this environment
How can we improve this article?