Skip to content

Official code for "Efficient Pressure: Improving efficiency for signalized intersections ".

License

Notifications You must be signed in to change notification settings

LiangZhang1996/Efficient_XLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

69296cf · Feb 28, 2024

History

19 Commits
Mar 28, 2022
Oct 29, 2021
Oct 29, 2021
Feb 28, 2024
Feb 28, 2024
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Mar 28, 2022
Apr 5, 2022

Repository files navigation

Efficient XLights

1、Introduction

The code for article Efficient Pressure: Improving efficiency for signalized intersections.

2、Requirements

python3.6,tensorflow=2.4, cityflow, pandas, numpy

cityflow needs a linux environment, and we run the code on Manjaro Linux.

3、Usage

Parameters are well prepared so you can run the code directly.

For Efficient-PressLight, run:

python run_efficient_presslight.py

For Efficient-CoLight, run:

python run_efficient_colight.py

For Efficient-MPLight, run:

python run_efficient_mplight.py

For the baseline methods,

  • Fixed-Time
python run_fixedtime.py
  • Max-Pressure
python run_maxpressure.py
  • PressLight
python run_presslight.py
  • MPLight
python run_mplight.py
  • Colight
python run_colight.py

4、Code details

4.1、structure

  • models: contains all the models used in our article.
  • utils: contains all the methods to simulate and train the models.

4.2、Reference

The code is modified from MPLight.

The Max-Pressure is created by ourselves, based on MaxPressure .

If you use our method and code, please cite our article.

License

This project is licensed under the GNU General Public License version 3 (GPLv3) - see the LICENSE file for details.

About

Official code for "Efficient Pressure: Improving efficiency for signalized intersections ".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages