com.xj.anylogic.engine
Class EnvironmentContinuous3D

java.lang.Object
  extended by com.xj.anylogic.engine.Environment<T>
      extended by com.xj.anylogic.engine.EnvironmentContinuous<AgentContinuous3D>
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.xj.anylogic.engine.Environment
Environment.AgentCollection<T extends Agent>
 
Field Summary
 
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
 
Constructor Summary
EnvironmentContinuous3D(ActiveObject activeObject)
          Creates new environment
 
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.EnvironmentContinuous
getConnectionRange, getSpaceType, setNetworkAllInRange
 
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
 

Constructor Detail

EnvironmentContinuous3D

public EnvironmentContinuous3D(ActiveObject activeObject)
Creates new environment

Parameters:
activeObject - owner of new environment
Method Detail

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 space
height - the height of the space
zHeight - 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.