|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmovement.MovementModel
movement.RandomWaypoint
movement.ClusterMovement
public class ClusterMovement
Field Summary | |
---|---|
static java.lang.String |
CLUSTER_CENTER
Center point of the cluster |
static java.lang.String |
CLUSTER_RANGE
Range of the cluster |
Fields inherited from class movement.MovementModel |
---|
comBus, DEF_SPEEDS, DEF_WAIT_TIMES, maxSpeed, maxWaitTime, minSpeed, minWaitTime, MOVEMENT_MODEL_NS, rng, RNG_SEED, SPEED, WAIT_TIME, WORLD_SIZE |
Constructor Summary | |
---|---|
ClusterMovement(Settings s)
|
Method Summary | |
---|---|
int |
getMaxX()
Returns the largest X coordinate value this model uses |
int |
getMaxY()
Returns the largest Y coordinate value this model uses |
protected Coord |
randomCoord()
|
ClusterMovement |
replicate()
Creates a replicate of the movement model. |
Methods inherited from class movement.RandomWaypoint |
---|
getInitialLocation, getPath |
Methods inherited from class movement.MovementModel |
---|
generateSpeed, generateWaitTime, getComBus, isActive, nextPathAvailable, reset, setComBus, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLUSTER_RANGE
public static final java.lang.String CLUSTER_CENTER
Constructor Detail |
---|
public ClusterMovement(Settings s)
Method Detail |
---|
protected Coord randomCoord()
randomCoord
in class RandomWaypoint
public int getMaxX()
MovementModel
getMaxX
in class MovementModel
public int getMaxY()
MovementModel
getMaxY
in class MovementModel
public ClusterMovement replicate()
MovementModel
replicate
in class RandomWaypoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |