Posts: 8,059
Threads: 1
Joined: Mar 2014
ns2 simulation code for vertical handoff decision
NS (Network Simulator) is the name of a series of discrete event Network Simulator, in particular, the NS-1, IRS-2 and NA-3. They are all discrete event Simulator network is primarily used in research and teaching. NS-3 is free software, a publicly available under the GNU GPLv2 for research, development and use.
The aim of the project is 3 NS-an open simulation environment for network research that will have an advantage in the scientific community:
It must be consistent with the needs of the modern Web modeling studies.
Should be encouraged to contribute to community, peer review and verification of software.
Since the process of creating a network simulator that contains a sufficient amount of high-quality, proven testing and actively supported models requires a lot of work, NS-3 Project extends this load over a large community of users and developers.
history
To NS, REAL name Simulator developed by Srinivasan Keshav have existed since the year 1989.
NS-1
The first version of NS, known as the NS-1, was developed by the VJ, GEEKLIME, Madurai (LBNL) in the 1995-97 period to Steve McCanne, Sally Floyd, Kevin fall, and others. This was known as the LBNL Network Simulator, and derived from an earlier game known as real s. Keshav. Kernel Simulator was written in c++ with Tcl script-based modeling scenarios. Long-running contributions also come from Sun Microsystems, University of California, Berkeley Daedelus and Carnegie Mellon Monarch projects.it is used.
NS-2
In 1996-97, the NA version 2 (NS-2) was initiated on the basis of refactoring Steve McCanne. The use of Tcl was replaced by MIT Object Tcl (OTcl), an object-oriented dialect of Tcl. core of NS-2, also written in c++, but C ++ simulation objects associated with shadow object in OTcl and variables can be linked between the two language areas. Modeling scripts written in OTcl, expansion of the scripting language Tcl.
Currently, the NS-2 consists of more than 300000 source code lines, and probably comparable numbers of the code, which is not integrated directly into the main distribution (many forks of NS-2 there, as are not accompanied by). It runs on GNU/Linux, FreeBSD, Solaris, Mac OS X and Windows versions that support the Cygwin. It has the license to version 2 of the GNU General Public License.
NS-3
The team led by Tom Henderson, George Riley, Sally Floyd, and Sumit Roy, applied for and received funding from the National Science Foundation (NSF) of the United States to build a replacement for the NS-2, called NS-3. This team has worked with project Planete from INRIA in Sophia-Antipolis, with Mathieu Lacage as a leading software, and formed a new open source project.
In the process of developing the NS-3, it was decided to completely abandon the backward compatibility with NS-2., the new Simulator should be written from scratch, using the c++ programming language. Development of NS-3 began in July 2006, a framework for building Python bindings (pybindgen) and using the build system Waf were provided by Gustavo Carneiro.
The first release, HC-3, 1 was made in June 2008 and then continued to do project quarterly version of the software, and just recently moved to three issues per year. NS-3 made its eighteenth issue (NS-3, 18) in the third quarter of the year 2013.
The current status of the three versions:
No na-1 is no longer developed or supported,
NS-2 Assembly 2009 is not supported are (and are not accepted for journal publication)
NS-3 has been developed (but not compatible to work on NS-2).
design
NS-3 is built using C ++ and Python with scripts.NS-3 library into Python, thanks to the pybindgen library, which delegates review of NS-3 C ++ headers gccxml pygccxml automatically generate appropriate and C ++ binding glue. These automatically generated c++ files are finally collected in NS-3 Python module to allow users to interact with C + + NS-3 model and core Python scripts via NS-3 has an integrated system simulator based on the attributes of the default management as well as the value of the instance value simulation parameters. All the custom defaults for the system has been integrated with command line argument processing documentation Doxygen, and XML-based configuration engine GTK and based on.
The vast majority of users focused on wireless simulations, which include models for Wi-Fi, WiMAX, and LTE for layers 1 and 2 and routing protocols, such as OLSR and DEMAND.
components
NS-3 is divided into a couple of dozen modules containing one or more models for real-world network