Deviation Routing, published at ACM Nanocom 2019

This page shows the code to reproduce the results of the deviation routing article, available at this page.

The simulation uses BitSimulator version 0.9.4. You need to download and compile it.

Extract the contents of deviation.tgz into the BitSimulator directory (where the bitsimulator executable is). Then, run analyse_deviation.sh. This will take some time (about 3min per simulation, with 40 runs), and requires a bit of free storage (Bitsimulator creates about 2.5GB log per run, overall 65 GB of logs).

Table 2 uses the results in deviation_{no}_collision_{modified|deviating}_slr/results.txt. The result files contain as space-separated values:

  1. the random value used
  2. the number of messages sent by the respective SLR algorithm
  3. and the time difference from first sending until reception by the message destination.
The average of 2nd and 3rd columns correspond to the 2nd and 3rd columns of table 2 in the article.

Figure 1 can be reproduced with the following command, followed by pressing space, r, and c:

Page written by Florian Büther.