Code Monkey home page Code Monkey logo

tecp's Introduction

前準備

ns-3 をダウンロードし、ns-3 ディレクトリに展開する。
ns-3mod ディレクトリの中身をns-3ディレクトリにコピーして上書きする。

実行

シミュレーションの実行前に一回だけ
bash ./conf.sh

シミュレーションの実行

引数で

  • トラヒック増加送信元ノードの範囲のはじまり(0-10)
  • トラヒック増加送信元ノードの範囲の終わり(0-10)
  • トラヒック増加送信先ノードの範囲のはじまり(0-10)
  • トラヒック増加送信先ノードの範囲の終わり(0-10)
    を指定する

指定した範囲内のシミュレーションが実行される。
bash ./run.sh 0 10 0 10
(110通りのシミュレーション)

シミュレーターが1コアずつしか使えないので
マルチコアのPCであれば範囲をずらして複数起動すれば速く終わる。
4コア同時に動かす時
bash ./run.sh 0 2 0 10
新しいターミナルなどで
bash ./run.sh 3 5 0 10
新しいターミナルなどで
bash ./run.sh 6 8 0 10
新しいターミナルなどで
bash ./run.sh 9 10 0 10

シミュレーション結果

シミュレーション結果は resultsディレクトリに保存される。

tecp's People

Contributors

ta-uc 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.