Giter Site home page Giter Site logo

liinnux / rase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xukmin/rase

0.0 2.0 0.0 152 KB

RASE - a Routing Algorithm Simulation & Evaluation framework for Wireless Sensor Networks.

Makefile 3.30% C++ 87.71% Shell 6.23% Gnuplot 1.56% C 1.20%

rase's Introduction

RASE - Routing Algorithm Simulation & Evaluation framework for Wireless Sensor Networks

Author: Min Xu

Overview

RASE is a simulator and evaluator for Wireless Sensor Network routing algorithms.

8 localized routing algorithms, 5 network structure & routing performance analyzers, and a sensor network simulator are implemented.

Simulation & Evaluation Outputs

Routing Trees

Routing Tree with 100 Sensors

Routing Tree with 200 Sensors

Routing Tree with 300 Sensors

Routing Tree with 400 Sensors

Metrics

Node Degree Variance

Robustness

Channel Quality

Data Aggregation

Latency

Usage

Build:

make

Run the simulation, generate data file and PNG diagrams:

make run

Run the simulation with customized configurations:

./run.sh <num_sensors> <repetitions> <lower_range> <upper_range> <range_step>

For example:

./run.sh 100 20 25.0 50.0 1

All parameters are optional. The default values are

<num_sensors> = 100
<repetitions> = 20
<lower_range> = 25.0
<upper_range> = 50.0
<range_step> = 0.1

The generated files are:

  • metrics-<num_sensors>-*.dat Data files in plain text format.
  • metrics-<num_sensors>-*.png PNG images of the routing metric diagrams.
  • routings-<num_sensors>*.png PNG images of the sample routing networks.

Dependencies

  • gnuplot 5.0 or above is needed to correctly generate PNG images.

  • imagemagick is needed for converting SVG to PNG.

Simulation Methodology

Pseudocode for the simulation procedure:

for communication_range in [lower_range, upper_range); do
  repeat N times; do
    Generate a random set of n sensor positions, ensure its
        min_communcation_range <= communication_range;
    Create network and add channels based on communication_range;
    foreach routing_algorithm; do
      Build routing_topology;
      foreach routing_metric; do
        Calculate metric value and save it into a map of 
            [communication_range, routing_algorithm, routing_metric] =>
                value;
      done
    done
  done
done

rase's People

Contributors

xukmin avatar

Watchers

 avatar  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.