TopoDump

Here is a module for Glomosim that periodically dumps connectivity information to gnuplot files. You can then run gnuplot on them and generate a bunch of Postscript plots.

Using Adobe distiller, you can then combine all the plots in to a single PDF with sequential slides.

Requires a good amount of hacking in Glomosim.

The file "makeplots.txt" can be used by Distiller. In the comments of topodump.pc, this file is called "COMBINE.PS". The extension doesn't matter, just run it through distiller (e.g. distill makeplots.txt).

ISSUES: The program does not know what nodes are sources and what are sinks. I have manually made node 0 the source. You will need to change this (or just get rid of the distinctions on the plot). Also, it would be nicer to print the simulation time in the header rather than the figure sequence.

Marc Mosko mmosko@cse.ucsc.edu

topodump.pc
makeplots.txt
Sample PDF output

Here are some example files for doing the neighbor topology. These are not complete implementations. Note that the "power" version does not require a neighbor protocol, but uses pathloss computed from global information in "propagate.pc".

neighbor.pc
neighbor.h
propagate.pc