|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mobility
Interface of all mobility models.
| Nested Class Summary | |
|---|---|
static interface |
Mobility.MobilityInfo
Interface of algorithm-specific mobility information objects. |
static class |
Mobility.RandomWalk
Random Walk mobility model: pick a direction, walk a certain distance in that direction, with some fixed and random component, reflecting off walls as necessary, then pause for some time and repeat. |
static class |
Mobility.RandomWaypoint
Random waypoint mobility model. |
static class |
Mobility.RandomWaypointInfo
Random waypoint state object. |
static class |
Mobility.Static
Static (noop) mobility model. |
static class |
Mobility.Teleport
Teleport mobility model: pick a random location and teleport to it, then pause for some time and repeat. |
| Method Summary | |
|---|---|
Mobility.MobilityInfo |
init(FieldInterface f,
java.lang.Integer id,
Location loc)
Initiate mobility; initialize mobility data structures. |
void |
next(FieldInterface f,
java.lang.Integer id,
Location loc,
Mobility.MobilityInfo info)
Schedule next movement. |
| Method Detail |
|---|
Mobility.MobilityInfo init(FieldInterface f,
java.lang.Integer id,
Location loc)
f - field entityid - node identifierloc - node location
void next(FieldInterface f,
java.lang.Integer id,
Location loc,
Mobility.MobilityInfo info)
f - field entityid - radio identifierloc - destination of moveinfo - mobility information object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||