GithubHelp home page GithubHelp logo

dynamac's Introduction

DynaMAC


ECE257B Project - Reinforcement Learning based MAC selection engine - Ankit Agarwal, Rohit Kumar and Yeswanth Guntupalli

DynaMAC Results

Description

This repo contains the simulation code used for simulating and evaluating DynaMAC - an RL based MAC Selection Engine.

Requirements

Python with numpy installed

Code

The main functions involved in simulating DynaMAC are:

  • generate_events
  • csma_simulator
  • tdma_simulator
  • qlearning_egreedy
  • qlearning_boltzmann
  • decision_final
  • Dynamac_SOMAC_test

Steps to run the code (demo.ipynb)

  • A sample version of the above test and results are also included in a python notebook demo.ipynb and inluded in the repository

This notebook allows you to run and test the following:

  • Run Standalone CSMA simulator for inreasing number of nodes and different network conditions over configurable monte-carlo simulations
  • Run Standalone TDMA simulator for inreasing number of nodes and different network conditions over configurable monte-carlo simulations
  • Run DynaMAC comparison for a given network condition and get a comparison of performance across TDMA only, CSMA only , DynaMAC with eplison greedy approach and DynaMAC with softmax approach

DynaMAC Comparison Test

  • This simulation gives the user control over the number of nodes, number of packets per node per second, duration of high traffic, duration of low traffic etc
  • Based on the above parameters, the code calculates the throughput and latency for the network for the 4 different approaches mentioned above

dynamac's People

Contributors

ankit2579 avatar rohit1347 avatar yeswanth2019 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.