Package com.anylogic.engine
- All Superinterfaces:
AgentExtension
,ExtEnvironmentInteractive
,Serializable
- All Known Subinterfaces:
ExtEnvironmentContinuous
,ExtEnvironmentDiscrete
public interface ExtEnvironmentWithLayout extends ExtEnvironmentInteractive
Modifier and Type | Method | Description |
---|---|---|
void | applyLayout() |
Rearranges agents in this environment according to the selected layout type.
|
LayoutType | getLayoutType() |
Returns the layout type.
|
void | setLayoutType |
Sets the layout type.
|
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)