Package casa.lepton.walk
Class LevyWalk
java.lang.Object
casa.lepton.walk.LevyWalk
- All Implemented Interfaces:
Walk
An instance of type
LevyWalk
defines a mobility model for a random
walk that complies with the so-called Levy walk patterns.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncasa.util.geom.AreaCar
getArea()
Returns the area in which this walk is defined.static LevyWalk
getDefault
(OppNodeProperties props) Creates and returns an instance ofLevyWalk
, using system properties (if defined) in order to initialize this object, and using default values otherwise.toString()
-
Field Details
-
area
public casa.util.geom.AreaCar area -
alpha
public double alpha -
beta
public double beta -
k
public double k -
rho
public double rho -
minDist
public double minDist -
maxDist
public double maxDist -
minWait
public long minWait -
maxWait
public long maxWait -
minSpeed
public double minSpeed -
maxSpeed
public double maxSpeed -
random
-
-
Constructor Details
-
LevyWalk
public LevyWalk(casa.util.geom.AreaCar area, double alpha, double beta, double k, double rho, long minWait, long maxWait, double minDist, double maxDist, double minSpeed, double maxSpeed, Random random)
-
-
Method Details
-
getDefault
Creates and returns an instance ofLevyWalk
, using system properties (if defined) in order to initialize this object, and using default values otherwise.- Returns:
- a
LevyWalk
object, initialized using either system properties or default values
-
getWalker
Description copied from interface:Walk
-
getArea
public casa.util.geom.AreaCar getArea()Description copied from interface:Walk
Returns the area in which this walk is defined. -
toString
-