Commit Graph

835 Commits

Author SHA1 Message Date
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
Mathieu Lacage
3f87b85886 add cid/iid support to RandomWalk 2007-07-02 20:25:25 +02:00
Mathieu Lacage
af6777397c rename GridTopology::Create to GridTopology::ArrangeHorizontally 2007-07-02 20:17:06 +02:00
Mathieu Lacage
2f29b73496 improve grid topology sample code and add dox documentation 2007-07-02 20:12:01 +02:00
Mathieu Lacage
c14499b211 add dox documentation 2007-07-02 18:14:20 +02:00
Mathieu Lacage
57b5993f8d add dox documentation 2007-07-02 18:12:27 +02:00
Mathieu Lacage
2f8fdae0db increase sample simulation run 2007-07-02 15:28:28 +02:00
Mathieu Lacage
e57869a38e add some debugging output. initialize the time argument correctly. 2007-07-02 15:27:53 +02:00
Mathieu Lacage
e4d291802b make the sample code actually do something 2007-07-02 15:15:25 +02:00
Mathieu Lacage
77eb4ec65a improve sample code, make it build 2007-07-02 15:08:10 +02:00
Mathieu Lacage
d27798e797 rework the notification mechanism to allow its optional use with every position model 2007-07-02 14:57:19 +02:00
Mathieu Lacage
fca6b52fba random walk position model (untested) 2007-07-02 14:07:51 +02:00
Mathieu Lacage
04ebac2279 forgot to add TypeName implementation for float and double 2007-07-02 14:07:27 +02:00
Mathieu Lacage
fb968dccdf forgot to add missing constructor implementation 2007-07-02 14:02:57 +02:00
Mathieu Lacage
1271ada6e1 TimeDefaultValue class 2007-07-02 14:02:02 +02:00
Mathieu Lacage
7a86a8a8e7 make default constructor private to avoid potential problems 2007-07-02 14:01:49 +02:00
Mathieu Lacage
e9ee638ae9 grid topology 2007-07-02 12:14:24 +02:00
Mathieu Lacage
965e14c3f9 add cid support 2007-07-02 12:14:12 +02:00
Mathieu Lacage
a2ca638f47 add cid support to position subclasses 2007-07-02 11:29:54 +02:00
Mathieu Lacage
0197e59eb1 DoSet should not be const 2007-07-02 11:29:27 +02:00
Mathieu Lacage
418adb52a4 add Position::DoSet et al. 2007-07-02 10:50:18 +02:00
Mathieu Lacage
8894524474 add floating point support to type names 2007-07-02 10:50:07 +02:00
Mathieu Lacage
6ec6318d5f position models 2007-06-29 09:41:37 +02:00
Gustavo J. A. M. Carneiro
7c1e148ffa WAF: add a warning to the --high-precision-as-double option help text saying they it works in configure. 2007-06-21 12:33:50 +01:00
Gustavo J. A. M. Carneiro
ffa52a935a WAF: simplify --debug-level option to only have debug and optimized as possible values (debug becomes the former ultradebug); Add a warning to some options help text saying they only work in configure. 2007-06-21 12:26:46 +01:00
Gustavo J. A. M. Carneiro
4b4b121366 WAF: be careful not to set gcc-specific flags (like -Werror) when using a non-gcc compiler. 2007-06-21 11:59:55 +01:00
Gustavo J. A. M. Carneiro
3012f74206 WAF: configure dynamic path for the cygwin platform. 2007-06-21 00:38:58 +01:00