Commit Graph

861 Commits

Author SHA1 Message Date
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
Mathieu Lacage
bda20507bd PositionSetNotifier -> MobilityModelNotifier 2007-07-04 09:56:22 +02:00
Mathieu Lacage
9111697a0b add missing constructor declaration 2007-07-04 09:48:49 +02:00
Mathieu Lacage
f27587f391 build the new code 2007-07-03 17:14:09 +02:00
Mathieu Lacage
ce6536c1d8 RandomDirection model 2007-07-03 17:12:44 +02:00
Mathieu Lacage
c0420dfa2a add a few constructors 2007-07-03 17:12:28 +02:00
Mathieu Lacage
0c77aa5a69 implement Dispose 2007-07-03 17:11:53 +02:00
Mathieu Lacage
96698c5783 In some cases, when an event is scheduled against a subclass of Object, and if no one owns a reference directly to this object, the object is alive, has a refcount of zero and the method ran when the event expires runs against the raw pointer which means that we are manipulating an object with a refcount of zero. So, we must disable this check. This is really evil but I see no way to work around this. 2007-07-03 17:05:23 +02:00
Mathieu Lacage
038bc809cb add operator << (std::ostream)for Ptr<T> 2007-07-03 16:11:40 +02:00
Mathieu Lacage
71d559e1f2 add dirtyness tracking to DefaultValueBase 2007-07-03 13:19:09 +02:00
Mathieu Lacage
184d929521 parse command-line arguments 2007-07-03 12:36:01 +02:00
Mathieu Lacage
5e975db36e a bunch of new DefaultValue subclasses 2007-07-03 12:34:26 +02:00
Mathieu Lacage
9a89cf1978 change GridTopology API and add RandomRectangle topology with similar API. 2007-07-03 10:04:16 +02:00
Mathieu Lacage
94c1f03300 test random walk position model with grid topology 2007-07-03 09:15:20 +02:00
Mathieu Lacage
872df4e54e RandomWalk is a Position 2007-07-03 08:56:40 +02:00
Mathieu Lacage
5fdde955b3 change default values and add some debugging 2007-07-03 08:54:37 +02:00