public class ClusterMovement extends RandomWaypoint
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLUSTER_CENTER
Center point of the cluster
|
static java.lang.String |
CLUSTER_RANGE
Range of the cluster
|
comBus, DEF_SPEEDS, DEF_WAIT_TIMES, host, maxSpeed, maxWaitTime, minSpeed, minWaitTime, MOVEMENT_MODEL_NS, rng, RNG_SEED, SPEED, WAIT_TIME, WORLD_SIZE| Constructor and Description |
|---|
ClusterMovement(Settings s) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getInitialLocation, getPathgenerateSpeed, generateWaitTime, getComBus, getHost, isActive, nextPathAvailable, reset, setComBus, setHost, toStringpublic static final java.lang.String CLUSTER_RANGE
public static final java.lang.String CLUSTER_CENTER
public ClusterMovement(Settings s)
protected Coord randomCoord()
randomCoord in class RandomWaypointpublic int getMaxX()
MovementModelgetMaxX in class MovementModelpublic int getMaxY()
MovementModelgetMaxY in class MovementModelpublic ClusterMovement replicate()
MovementModelreplicate in class RandomWaypoint