Skip to content

final project for cpe 400, implemented a q-learning and SARSA routing protocol for a network simulator

Notifications You must be signed in to change notification settings

whiteSteelRain/q-routing-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL for Network Packet Routing

This repo is a python port of the c implementation of Packet Routing in Dynamically Changing Networks: A Reinforcement Learning approach (found here:https://www.cs.cmu.edu/~jab/cv/pubs/boyan.q-routing.pdf)

The network simulator is implemented in envs/simulator.py and extends the OpenAI gym environment class.

To run this code simply choose and agent file (currently we have Q learning and SARSA) and run:

python do_TYPE_learning.py

so for instance, to run the Q learning agent, type

python do_q_learning.py

in this directory.

The agent's performance is written to the console.

About

final project for cpe 400, implemented a q-learning and SARSA routing protocol for a network simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 52.4%
  • Python 31.2%
  • Tcl 16.1%
  • Makefile 0.3%