[ns] Pb: uplevel source.orig $filename

Martina Umlauft martina.umlauft at vienna.at
Wed Apr 13 03:18:53 PDT 2005


Hi!

Well, did you create a god object in your simulation script?

> I m trying to run my tcl scenario of wired and wireless node with a random 
> generated movement file (generated by ./setdest ....).
> 
> My problem is that when i m executing my tcl scenario, i get the following 
> error messages:
> 
> 
> can t read "god_". no such variable            ( it s present within my 
> movement pattern file)
> while executing
> $god_ set-dist 0 1 2

[...]

The god object is used to maintain a global ("omniscient") view of the
number of hops between all pairs of nodes. My understanding is that in the
CMU Monarch Project this was used to evaluate routing algorithms - the
routing algorithms run on the nodes and set up routes but of course they
only have a "local view" of the situation. The god object has an
omniscient view and therefore knows the "perfect" routes (min. no of
hops). Then they used this for comparison. The distances between the nodes
are not calculated on the fly in the god object but rather calculated in
advance by setdest and included in the movement file. From there, the god
object is "fed" with the pre-calculated hop distance information via the
set-dist command.

See also the Marc Greis Tutorial, chapter IX I think.

    lg,
        Martina Umlauft                                 umlauft at ftw.at
-----------------------------------------------------------------------



More information about the Ns-users mailing list