All Implemented Interfaces:
Walk
public class LimitedAreaGraphWalk
extends GraphWalk
A
Walk
that defines a mobility model where nodes move along an
underlying graph (
GraphWalk
), but inside a given area inside this
graph potentially smaller than the whole graph area.
Constructor Summary
Constructors
LimitedAreaGraphWalk (casa.util.geom.AreaCar area,
long minWait,
long maxWait,
double minSpeed,
double maxSpeed,
org.graphstream.graph.Graph graph,
String pauseType,
Random random)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns a new
Walker
that will move according to the mobility
model implemented in this instance of
Walk
.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
LimitedAreaGraphWalk
public LimitedAreaGraphWalk (casa.util.geom.AreaCar area,
long minWait,
long maxWait,
double minSpeed,
double maxSpeed,
org.graphstream.graph.Graph graph,
String pauseType,
Random random)
Method Details
getWalker
Description copied from interface: Walk
Returns a new
Walker
that will move according to the mobility
model implemented in this instance of
Walk
.
Specified by:
getWalker
in interface Walk
Overrides:
getWalker
in class GraphWalk
Parameters:
time
- the time of creation of this walker
Returns:
a new Walker
, whose mobility starts at the specified time