CityFlow

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

https://github.com/cityflow-project/CityFlow

Science Score: 46.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    2 of 8 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary

Keywords

multiagent-reinforcement-learning multiagent-systems traffic-signal-control traffic-simulation
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 900
  • Watchers: 18
  • Forks: 183
  • Open Issues: 43
  • Releases: 0
Topics
multiagent-reinforcement-learning multiagent-systems traffic-signal-control traffic-simulation
Created almost 7 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.rst

CityFlow
============

.. image:: https://readthedocs.org/projects/cityflow/badge/?version=latest
    :target: https://cityflow.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://dev.azure.com/CityFlow/CityFlow/_apis/build/status/cityflow-project.CityFlow?branchName=master
    :target: https://dev.azure.com/CityFlow/CityFlow/_build/latest?definitionId=2&branchName=master
    :alt: 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 [#sumo]_.

.. figure:: https://user-images.githubusercontent.com/44251346/54403537-5ce16b00-470b-11e9-928d-76c8ba0ab463.png
    :align: center
    :alt: 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
----------

.. figure:: https://user-images.githubusercontent.com/44251346/62375390-c9e98600-b570-11e9-8808-e13dbe776f1e.gif
    :align: center
    :alt: demo

Featured Research and Projects Using CityFlow
---------------------------------------------
- `PressLight: Learning Max Pressure Control to Coordinate Traffic Signals in Arterial Network (KDD 2019) `_
- `CoLight: Learning Network-level Cooperation for Traffic Signal Control `_
- `Traffic Signal Control Benchmark `_
- `TSCC2050: A Traffic Signal Control Game by Tianrang Intelligence (in Chinese) `_ [#tianrang]_

Links
-----

- `WWW 2019 Demo Paper `_
- `Home Page `_
- `Documentation and Quick Start `_
- `Docker `_


.. [#sumo] `SUMO home page `_
.. [#tianrang] `Tianrang Intelligence home page `_

Owner

  • Name: cityflow-project
  • Login: cityflow-project
  • Kind: organization

GitHub Events

Total
  • Issues event: 5
  • Watch event: 109
  • Issue comment event: 8
  • Push event: 1
  • Fork event: 12
Last Year
  • Issues event: 5
  • Watch event: 109
  • Issue comment event: 8
  • Push event: 1
  • Fork event: 13

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 72
  • Total Committers: 8
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.556
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Qidong Su s****l@g****m 32
zhc134 me@z****m 25
Siyuan Feng H****y@s****n 5
only-changer o****r@s****n 5
이중건 Isaac Lee 4****c 2
Weinan Zhang z****9@g****m 1
chacha c****7@g****m 1
zyr17 j****7@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 137
  • Total pull requests: 52
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 88
  • Total pull request authors: 13
  • Average comments per issue: 2.42
  • Average comments per pull request: 0.29
  • Merged pull requests: 46
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 5
  • Pull request authors: 0
  • Average comments per issue: 0.6
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ThisIsIsaac (17)
  • WaterFountain-Jack (7)
  • oroojlooy (6)
  • soodoshll (4)
  • JinmingM (3)
  • Siaaa-3 (3)
  • zhc134 (3)
  • samta (2)
  • kclim2 (2)
  • huanyuyunhuang (2)
  • LuckyLeeLL (2)
  • Fullstop000 (2)
  • ZheliXiong (2)
  • snowman109 (2)
  • josemanuelsannav (2)
Pull Request Authors
  • soodoshll (28)
  • zhc134 (8)
  • Hzfengsy (5)
  • only-changer (2)
  • lilyjazz (2)
  • snowman109 (1)
  • Chacha-Chen (1)
  • wnzhang (1)
  • ThisIsIsaac (1)
  • MaxVanDijck (1)
  • zyr17 (1)
  • caokangx (1)
  • wangyb18 (1)
Top Labels
Issue Labels
enhancement (3) refactor (1)
Pull Request Labels
need testcase (2) work in process (2)

Dependencies

Dockerfile docker
  • ubuntu 16.04 build
setup.py pypi