|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xj.anylogic.engine.Environment<T>
com.xj.anylogic.engine.EnvironmentContinuous<T>
public abstract class EnvironmentContinuous<T extends AgentContinuous>
Base class for agent environments with continuous space. Use one of these subclasses:
| 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 |
| Method Summary | |
|---|---|
double |
getConnectionRange()
Returns the range of agent connections. |
int |
getSpaceType()
Deprecated. |
void |
setNetworkAllInRange(double connectionRange)
Sets network type to the one when agents are connected if the distance between them is not longer that a given one. |
| Methods inherited from class com.xj.anylogic.engine.Environment |
|---|
applyNetwork, areStepsEnabled, deliverToAll, deliverToRandom, disableSteps, enableSteps, formatSpaceType, 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 |
| Method Detail |
|---|
@Deprecated public int getSpaceType()
EnvironmentEnvironment.SPACE_DISCRETE_2DEnvironment.SPACE_CONTINUOUS_2D)
getSpaceType in class Environment<T extends AgentContinuous>public void setNetworkAllInRange(double connectionRange)
connectionRange - the maximum distance between connected agentspublic double getConnectionRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||