Git Product home page Git Product logo

caps-simulation's Introduction

Description:

These are simple implementations of CAPS and CAPS-dark on ns-2.35.
We have tested CAPS and CAPS-dark in the ubuntu 16.04.1 with Linux kernel 4.8.0-36-generic and 4.13.0-41-generic.

Usage:

1. Download "ubuntu 16.04.1" and "ns-allinone-2.35.tar.gz"

You can download "ubuntu-16.04.1-desktop-amd64.iso" from this website:
http://old-releases.ubuntu.com/releases/16.04.1/

You can download "ns-allinone-2.35.tar.gz" from this website:
https://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download

2. Place all the files:

Please put the following files or folders ( 'ns-allinone-2.35.tar.gz', 'ls.h', 'NS2.sh', 'CAPS.patch', 'CAPS-dark.patch', ‘CAPS.sh’, 'CAPS-dark.sh', 'many-to-one.sh', 'many-to-many.sh' and ‘testcase’ ) in the same level directory.
For example: put all the above files and folders in the folder: "CAPS-NS2-master"

3. Installing NS2:

cd CAPS-NS2-master
sudo chmod -R 777 *
sudo ./NS2.sh

4. Patching CAPS and Compiling NS2:

For CAPS:

sudo ./CAPS.sh

or: For CAPS-dark (Another CAPS version without prior knowledge):

sudo ./CAPS-dark.sh

Note: All the patch files ('CAPS.patch' and 'CAPS-dark.patch') should be patched on the original ns-2.35.
Please put the patch files inside the 'ns-allinone-2.35' folder, but outside the 'ns-2.35' folder.

5. Now you can run the simple testcases:

./many-to-one.sh 10 20 30 40 50 60 70 80
./many-to-many.sh 10 20 30 40 50 60 70 80

If you have any questions, please email to [email protected]

caps-simulation's People

Contributors

huhuzizi avatar

Watchers

 avatar

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.