com.xj.anylogic.engine
Class EnvironmentContinuousGIS

java.lang.Object
  extended by com.xj.anylogic.engine.Environment<T>
      extended by com.xj.anylogic.engine.EnvironmentContinuous<AgentContinuousGIS>
          extended by com.xj.anylogic.engine.EnvironmentContinuousGIS
All Implemented Interfaces:
com.xj.anylogic.engine.internal.Child, java.io.Serializable

public class EnvironmentContinuousGIS
extends EnvironmentContinuous<AgentContinuousGIS>

Agent environment class for continuous 2D space based on GIS map

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
EnvironmentContinuousGIS(ActiveObject activeObject)
          Creates new environment
 
Method Summary
 java.lang.String formatSpaceType()
          Returns the name of the space type
 AbstractShapeGISMap getGISMap()
          Returns AbstractShapeGISMap object used in this environment
 void setSpaceContinuous(AbstractShapeGISMap gisMap)
          Deprecated. replaced with setupSpace(AbstractShapeGISMap)
 void setupSpace(AbstractShapeGISMap gisMap)
          Sets the space to be based on given gisMap.
 
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

EnvironmentContinuousGIS

public EnvironmentContinuousGIS(ActiveObject activeObject)
Creates new environment

Parameters:
activeObject - owner of new environment
Method Detail

setSpaceContinuous

@Deprecated
public void setSpaceContinuous(AbstractShapeGISMap gisMap)
Deprecated. replaced with setupSpace(AbstractShapeGISMap)


setupSpace

public void setupSpace(AbstractShapeGISMap gisMap)
Sets the space to be based on given gisMap. This method should only be called when the environment is empty.

Parameters:
gisMap - the GIS map to use in this environment, should not be null

getGISMap

public AbstractShapeGISMap getGISMap()
Returns AbstractShapeGISMap object used in this environment

Returns:
GIS map object used in this environment
Note, that returned object has the base GIS map type and for additional services it needs to be casted to ShapeGISMap

formatSpaceType

public java.lang.String formatSpaceType()
Description copied from class: Environment
Returns the name of the space type

Specified by:
formatSpaceType in class Environment<AgentContinuousGIS>
Returns:
the name of the space type


Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.