com.xj.anylogic.engine
Class EnvironmentContinuous3D
java.lang.Object
com.xj.anylogic.engine.Environment<T>
com.xj.anylogic.engine.EnvironmentContinuous<AgentContinuous3D>
com.xj.anylogic.engine.EnvironmentContinuous3D
- All Implemented Interfaces:
- com.xj.anylogic.engine.internal.Child, java.io.Serializable
public class EnvironmentContinuous3D
- extends EnvironmentContinuous<AgentContinuous3D>
Agent environment class for continuous 3D space
- Author:
- XJ Technologies Company Ltd. www.anylogic.com
- See Also:
- Serialized Form
| Fields inherited from class com.xj.anylogic.engine.Environment |
LAYOUT_ARRANGED, LAYOUT_RANDOM, LAYOUT_RING, LAYOUT_SPRING_MASS, LAYOUT_USER_DEFINED, NETWORK_ALL_IN_RANGE, NETWORK_RANDOM, NETWORK_RING_LATTICE, NETWORK_SCALE_FREE, NETWORK_SMALL_WORLD, NETWORK_USER_DEFINED, SPACE_CONTINUOUS_2D, SPACE_DISCRETE_2D, TIME_CONTINUOUS, TIME_DISCRETE |
|
Method Summary |
java.lang.String |
formatSpaceType()
Returns the name of the space type |
double |
getZHeight()
Returns the height of environment space along Z-axis. |
void |
setupSpace(double width,
double height,
double zHeight)
Sets the space to the given dimensions. |
| Methods inherited from class com.xj.anylogic.engine.Environment |
applyNetwork, areStepsEnabled, deliverToAll, deliverToRandom, disableSteps, enableSteps, getAgentCollection, getConnectionsPerAgent, getHeight, getNeighborLinkProbability, getNetworkType, getRandomAgent, getScaleFreeM, getWidth, layoutTypeToString, onAfterStep, onBeforeStep, onDestroy, restoreOwner, setNetworkRandom, setNetworkRingLattice, setNetworkScaleFree, setNetworkSmallWorld, setNetworkUserDefined, size, spaceTypeToString, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EnvironmentContinuous3D
public EnvironmentContinuous3D(ActiveObject activeObject)
- Creates new environment
- Parameters:
activeObject - owner of new environment
setupSpace
public 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 spaceheight - the height of the spacezHeight - the height of the space along Z-axis
getZHeight
public double getZHeight()
- Returns the height of environment space along Z-axis.
- Returns:
- the z-height of environment space
formatSpaceType
public java.lang.String formatSpaceType()
- Description copied from class:
Environment
- Returns the name of the space type
- Specified by:
formatSpaceType in class Environment<AgentContinuous3D>
- Returns:
- the name of the space type
Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.