Package com.anylogic.engine
- All Superinterfaces:
AgentExtension
,ExtEnvironmentInteractive
,java.io.Serializable
- All Known Subinterfaces:
ExtEnvironmentContinuous
,ExtEnvironmentDiscrete
public interface ExtEnvironmentWithLayout 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 |
applyLayout() |
Rearranges agents in this environment according to the selected layout type.
|
LayoutType |
getLayoutType() |
Returns the layout type.
|
void |
setLayoutType(LayoutType type) |
Sets the layout type.
|
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 setLayoutType(LayoutType type)
Sets the layout type. To apply the layout call applyLayout().
The default layout is LAYOUT_USER_DEFINED, i.e. arbitrary.
- Parameters:
type
- the new layout type
LayoutType getLayoutType()
Returns the layout type. Note that this type has not necessarily been
applied.
- Returns:
- the layout type
void applyLayout()
Rearranges agents in this environment according to the selected layout type.
- See Also:
setLayoutType(LayoutType)
-
How can we improve this article?
-