| 
 | |||||||||
| 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.MobilityInfoInterface of algorithm-specific mobility information objects. | 
| static class | Mobility.RandomWalkRandom 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.RandomWaypointRandom waypoint mobility model. | 
| static class | Mobility.RandomWaypointInfoRandom waypoint state object. | 
| static class | Mobility.StaticStatic (noop) mobility model. | 
| static class | Mobility.TeleportTeleport 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 | ||||||||