Giter Site home page Giter Site logo

gautamanghore / adian Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 5.0 515 KB

ADIAN - A Distributed Intelligent Ad-hoc Network - A new routing protocol for mobile ad-hoc networks. (Repository contains the implementation of ADIAN in NS2 [Network Simulator] ).

License: MIT License

C++ 54.10% Tcl 45.90%

adian's Introduction

ADIAN

A Distributed Intelligent Ad-hoc Network

ADIAN is a new routing protocol for Mobile Ad-hoc Networks. A Mobile Ad-hoc Network (MANET) is a network consisting of wireless devices that makes a self-configured network together.

In ADIAN protocol, network nodes are considered as intelligent agents and the agents discover routes to deliver information. In this system, the routing overhead, which has an important impact on the performance of the MANETs, is aimed to be minimized.

Note: This repository contains the implementation of ADIAN protocol in Network Simulator (NS2). Using this implementation in NS2, the actual performance of ADIAN can be studied and analysed.

####Implementation :

Resource Reference : Implementing new MANET protocol

NS2 is implemented in c++ and tcl scripts can be used to simulate various networks. Hence ADIAN is implemented in c++. To integrate it in ns2, some files of ns2-codebase needs to be updated. Those files are in ns-allinone-2.35/ns-2.35 directory.

##Setting up Local development enviornment/Testing

Notes :

  • Use a separate installation of ns2 for development/testing purpose. Some of the source files of ns2 are also modified and can lead to inconsistencies with your current ns2 installation.
  • Configurations steps are in accordance with ubuntu 14.04.
  • Implementation is based on ns-allionone-2.35.

####Instructions:

  • Install dependencies : To compile ns2, these dependencies must be installed.

    sudo apt-get install tcl8.5-dev tk8.5-dev gcc-4.4 g++-4.4 build-essential autoconf automake perl xgraph libxt-dev libx11-dev libxmu-dev
    
  • Get ns-allinone-2.35:

    • Download ns-allinone-2.35.tar.gz file from here .
    • Extract ns-allinone-2.35.tar.gz.
      tar -xzvf ns-allinone-2.35.tar.gz
    • The path where you extracted the ns-allionone-2.35.tar.gz will be refered to as <path/to/local/ns-allinone>
  • Clone the repo:

    git clone https://github.com/GautamAnghore/adian adian-master
    

    The repository will be cloned to adian-master directory.

  • Configure:

    • cd adian-master
    • ./configure <path/to/local/ns-allinone>
      ( This will create hard links of the files in the repository to the ns-allinone-2.35 directory. Now the changes in the files in repository will be reflected in ns2 source-code directory )
  • Compile:

    • cd <path/to/local/ns-allinone>
    • ./install
  • Test:
    To run the simulation through this NS installation
    <path/to/local/ns-allinone>/ns-2.35/ns <simulation.tcl>

adian's People

Contributors

gautamanghore avatar harshit369 avatar tavneetsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adian's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.