akeranen / the-one

The Opportunistic Network Environment simulator
Other
213 stars 199 forks source link

Static map-based movement model and additional init. locations for LinearMovement #80

Open jaks6 opened 5 years ago

jaks6 commented 5 years ago

1) I needed some nodes to be non-moving, specified with coordinates on a map (e.g. wireless AP servers with computing capabilities). To achieve this, I created a Map-based movement model where nodes' initial location is given, but they don't actually move.

2) I added some options to LinearMovement regarding the node's initial location. 2.1 nodes placed at the start of LinearMovement line 2.2 Nodes placed evenly along a subsegment of the line, subsegment is from start of linearMovement start coordinate and a "initLocSegmentEnd" parameter coordinate.