Commit Graph

876 Commits

Author SHA1 Message Date
Mathieu Lacage
4e2af32bcf doxygen for mobility models 2007-07-19 10:46:50 +02:00
Mathieu Lacage
198b031d03 remove dead code 2007-07-19 10:43:41 +02:00
Mathieu Lacage
5ec60a6a2c RandomDirection -> RandomDirection2d 2007-07-19 10:31:04 +02:00
Mathieu Lacage
eadaabbe62 random-direction -> random-direction-2d 2007-07-19 10:30:18 +02:00
Mathieu Lacage
b2d7640a1d add MobilityModel::GetSpeed method and implement it in all mobility models 2007-07-19 10:28:48 +02:00
Mathieu Lacage
39ba117abf remove dead code 2007-07-19 10:21:27 +02:00
Mathieu Lacage
7a3849ffdb remove dead code 2007-07-19 10:21:23 +02:00
Mathieu Lacage
9a367b2be7 use the helper from the static speed mobility model 2007-07-19 10:17:02 +02:00
Mathieu Lacage
f671c11773 remove mobility model helper, re-enable random direction model with new helper 2007-07-19 10:05:07 +02:00
Mathieu Lacage
bb7208b754 move delay calculation code from helper to random walk class 2007-07-19 10:01:42 +02:00
Mathieu Lacage
3ae6f849ac move rebound code from helper to random walk model 2007-07-19 09:54:57 +02:00
Mathieu Lacage
e682be574b move intersection code to rectangle class 2007-07-19 09:48:10 +02:00
Mathieu Lacage
ab084a9399 move around rectangle class and move IsInside method from Position to Rectangle 2007-07-19 09:34:36 +02:00
Mathieu Lacage
3f4edebda6 remove 'now' events 2007-07-19 08:43:43 +02:00
Mathieu Lacage
a59e3bb3cd remove schedule API to allow canceling and removing now and destroy events 2007-07-19 08:43:28 +02:00
Mathieu Lacage
e62ea4cdb4 add operator == and != to EventId 2007-07-19 08:29:48 +02:00
Mathieu Lacage
1ac757bd60 get rid of old buggy random walk model 2007-07-18 17:56:43 +02:00
Mathieu Lacage
9c46074145 do not try to remove invalid events 2007-07-18 17:55:58 +02:00
Mathieu Lacage
2ad239b6c9 more debugging, make sure to save value string if it is value after parsing. 2007-07-18 17:52:18 +02:00
Mathieu Lacage
9bc8eb952b fix typos 2007-07-18 17:45:53 +02:00
Mathieu Lacage
83cbc1f450 be consistant with the rest of the code 2007-07-18 17:45:35 +02:00
Mathieu Lacage
5ef0970789 add disc center position and debugging 2007-07-18 17:45:07 +02:00
Mathieu Lacage
41920cc74f add debugging output 2007-07-18 17:44:32 +02:00
Mathieu Lacage
bda63626d2 a real random walk model 2007-07-18 17:07:25 +02:00
Mathieu Lacage
d0d364d729 add Rectangle class and use it. 2007-07-18 17:07:15 +02:00
Mathieu Lacage
e896c2576b make sure we schedule the start event correctly 2007-07-18 17:06:36 +02:00
Mathieu Lacage
88b0af83b5 add cid support to waypoint model 2007-07-18 14:11:33 +02:00
Mathieu Lacage
5e3d0126e3 add default value support to random waypoint 2007-07-18 14:08:34 +02:00
Mathieu Lacage
aef4192d6a add a 3d random waypoint model 2007-07-18 13:56:37 +02:00
Mathieu Lacage
a85bcfc0d7 Random2dPosition -> RandomPosition 2007-07-18 11:04:54 +02:00
Mathieu Lacage
5cc787f648 move Position class in own header 2007-07-18 11:03:01 +02:00
Mathieu Lacage
a011792fb6 RandomRectangleTopology -> RandomTopology 2007-07-18 10:53:53 +02:00
Mathieu Lacage
2bd88ed300 use Random2dPosition from RandomRectangleTopology 2007-07-18 10:46:44 +02:00
Mathieu Lacage
bd234eafe3 add iid and cid support to Random2dPosition 2007-07-18 10:46:26 +02:00
Mathieu Lacage
0405be5bb0 a random position helper class 2007-07-18 10:13:28 +02:00
Mathieu Lacage
c40b0f6f63 start support for random walk and random waypoint models 2007-07-17 16:11:49 +02:00
Mathieu Lacage
b10c76a3a6 cleanup the header 2007-07-17 14:37:11 +02:00
Mathieu Lacage
683b301fb7 split useful code out of random direction mobility model 2007-07-17 14:32:19 +02:00
Mathieu Lacage
ba0f81e65c remove unused class declarations 2007-07-17 11:13:34 +02:00
Mathieu Lacage
204352ca8b fix small typo 2007-07-17 11:12:24 +02:00
Mathieu Lacage
8b07f89d13 remove extraneous setters/getters 2007-07-17 10:58:13 +02:00
Mathieu Lacage
2f01154847 fix small typo 2007-07-17 10:54:50 +02:00
Mathieu Lacage
24458b4bf1 a topology class to read ns2's mobility files and a mobility generator. 2007-07-17 10:47:25 +02:00
Mathieu Lacage
b9c2580f22 a hierarchical mobility model 2007-07-16 15:27:56 +02:00
Mathieu Lacage
be946aab50 new version of DoGet and DoSet 2007-07-04 13:52:12 +02:00
Mathieu Lacage
2aca908685 use new MobilityModel::Get and remove old one. 2007-07-04 10:27:49 +02:00
Mathieu Lacage
99ec33418a add Position class and Get/Set methods on MobilityModel 2007-07-04 10:24:45 +02:00
Mathieu Lacage
c416887542 POSITION_H -> MOBILITY_MODEL_H 2007-07-04 10:18:14 +02:00
Mathieu Lacage
dd0ff29f66 position.h -> mobility-model.h 2007-07-04 10:15:18 +02:00
Mathieu Lacage
3e22f47624 Position -> MobilityModel 2007-07-04 10:04:08 +02:00