Skip to content

A Multi-Agent Reinforcement Learning Environment for Large Scale City Traffic Scenario

License

Notifications You must be signed in to change notification settings

chaoliu03/CityFlow

 
 

Repository files navigation

CityFlow

Documentation Status Build Status

CityFlow is a multi-agent reinforcement learning environment for large-scale city traffic scenario.

Checkout these features!

  • A microscopic traffic simulator which simulates the behavior of each vehicle, providing highest level detail of traffic evolution.
  • Supports flexible definitions for road network and traffic flow
  • Provides friendly python interface for reinforcement learning
  • Fast! Elaborately designed data structure and simulation algorithm with multithreading. Capable of simulating city-wide traffic. See the performance comparison with SUMO [1].
performance compared with SUMO

Performance comparison between CityFlow with different number of threads (1, 2, 4, 8) and SUMO. From small 1x1 grid roadnet to city-level 30x30 roadnet. Even faster when you need to interact with the simulator through python API.

Screencast

demo

Featured Research and Projects Using CityFlow

Links

[1]SUMO home page
[2]Tianrang Intelligence home page

About

A Multi-Agent Reinforcement Learning Environment for Large Scale City Traffic Scenario

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.0%
  • Python 16.0%
  • JavaScript 8.1%
  • HTML 2.6%
  • CMake 1.5%
  • CSS 0.6%
  • Dockerfile 0.2%