Download Latest Version sptb.tar (61.4 kB)
Email in envelope

Get an email when there's a new version of SPTB

Home
Name Modified Size InfoDownloads / Week
README.txt 2011-02-03 2.0 kB
sptb.tar 2010-12-12 61.4 kB
Totals: 2 Items   63.4 kB 0
This release contains the implementation of a broadcast routing protocol called Shortest Path Tree based Broadcast (SPTB) under the network simulator ns-2. SPTB is proposed by researchers in NICTA, Australia.
In this release, both the C++ codes for the SPTB implementation and the TCL scripts for experimenting SPTB under ns-2 are included. In addition, this release also contains our implementation of a benchmark broadcast protocol called 'TwoHop' that uses 2-hop neighbourhood information. The README file included in this release explains how to install and use this software. 

------------------------------------------------------------------
To install and run SPTB and TwoHop, please follow the steps below.
------------------------------------------------------------------

1. Under the ns-2.34 directory:
   tar vxf sptb.tar

2. Modify other ns-2 source files according to 'howto-sptb-ns2.txt'.

3. Under the directory ns-2.34:
   touch tcl/lib/ns-lib.tcl
   make

4. Under the directory tcl/ex/sptb:
   # generate node placement and movement scenario
   rwp <NodeNumber> <NodeDensity> <MaxSpeed>
   # start simulation
   ns sptb.tcl <NodeNumber> <NodeDensity> <MaxSpeed>

   e.g.
   rwp 100 150 5
   ns sptb.tcl 100 150 5

------------------------------------------------------------------
File List:
------------------------------------------------------------------

sptb/README: this file

sptb/howto-sptb-ns2.txt: how to modify existing sources in ns-2. All the modifications only extend the functionalities of ns-2, and will not affect the running of other ns-2 components.

mybin/rwp: node placement and movement generating script

sptb/sptb.cc:
sptb/sptb.h: SPTB implementation

twohop/twohop.cc:
twohop/twohop.h: TwoHop implementation

tcl/ex/sptb/sptb.tcl: for running SPTB
tcl/ex/sptb/twoh.tcl: for running TwoHop 

------------------------------------------------------------------
For questions, email: siweisheng # gmail.com
Source: README.txt, updated 2011-02-03