├── .gitignore ├── agents ├── GRU_ReLU_DQNAgent.py ├── GRU_Swish_DQNAgent.py ├── ReLU_DQNAgent.py ├── Swish_DQNAgent.py └── __init__.py ├── drl-test-results.ods ├── environments ├── east-west │ ├── tlcs.net.xml │ ├── tlcs_config_train.sumocfg │ ├── tlcs_train.rou.xml │ └── tripinfo.xml ├── high │ ├── tlcs.net.xml │ ├── tlcs_config_train.sumocfg │ ├── tlcs_train.rou.xml │ └── tripinfo.xml ├── low │ ├── tlcs.net.xml │ ├── tlcs_config_train.sumocfg │ ├── tlcs_train.rou.xml │ └── tripinfo.xml └── north-south │ ├── tlcs.net.xml │ ├── tlcs_config_train.sumocfg │ ├── tlcs_train.rou.xml │ └── tripinfo.xml ├── feed_forward_dropout ├── DQNAgent.py ├── es_ffdo_DQNAgent_weights ├── ffdo_DQNAgent_weights ├── simulator_test.py ├── simulator_train.py ├── web_agent_test.py └── web_agent_train.py ├── generate_routefile.py ├── history ├── AVG_INTERSECTION_QUEUE_STORE.out ├── AVG_WAIT_STORE.out ├── REWARD_STORE.out ├── THROUGHPUT_STORE.out └── feed-forward-do │ ├── AVG_INTERSECTION_QUEUE_STORE.out │ ├── AVG_WAIT_STORE.out │ ├── REWARD_STORE.out │ └── THROUGHPUT_STORE.out ├── lstm_dropout ├── DQNAgent.py ├── lstmdo_DQNAgent_weights ├── simulator_train.py └── web_agent_train.py ├── output_figures ├── Feed-Forward Dropout │ ├── Feed-Forward Dropout DQNAgent-East-West-avarage-cumulative-waiting-time.png │ ├── Feed-Forward Dropout DQNAgent-East-West-avarage-queued-vehicles-per-step.png │ ├── Feed-Forward Dropout DQNAgent-East-West-reward.png │ ├── Feed-Forward Dropout DQNAgent-East-West-throughput.png │ ├── Feed-Forward Dropout DQNAgent-High-avarage-cumulative-waiting-time.png │ ├── Feed-Forward Dropout DQNAgent-High-avarage-queued-vehicles-per-step.png │ ├── Feed-Forward Dropout DQNAgent-High-reward.png │ ├── Feed-Forward Dropout DQNAgent-High-throughput.png │ ├── Feed-Forward Dropout DQNAgent-Low-avarage-cumulative-waiting-time.png │ ├── Feed-Forward Dropout DQNAgent-Low-avarage-queued-vehicles-per-step.png │ ├── Feed-Forward Dropout DQNAgent-Low-reward.png │ ├── Feed-Forward Dropout DQNAgent-Low-throughput.png │ ├── Feed-Forward Dropout DQNAgent-North-South-avarage-cumulative-waiting-time.png │ ├── Feed-Forward Dropout DQNAgent-North-South-avarage-queued-vehicles-per-step.png │ ├── Feed-Forward Dropout DQNAgent-North-South-reward.png │ ├── Feed-Forward Dropout DQNAgent-North-South-throughput.png │ ├── Feed-Forward Dropout DQNAgent-avarage-cumulative-waiting-times.png │ ├── Feed-Forward Dropout DQNAgent-avarage-queued-vehicles-per-steps.png │ ├── Feed-Forward Dropout DQNAgent-rewards.png │ └── Feed-Forward Dropout DQNAgent-throughputs.png ├── es_ffdo │ ├── es_ffdo_DQNAgent-East-West-avarage-cumulative-delay.png │ ├── es_ffdo_DQNAgent-East-West-avarage-queue.png │ ├── es_ffdo_DQNAgent-East-West-reward.png │ ├── es_ffdo_DQNAgent-East-West-throughput.png │ ├── es_ffdo_DQNAgent-High-avarage-cumulative-delay.png │ ├── es_ffdo_DQNAgent-High-avarage-queue.png │ ├── es_ffdo_DQNAgent-High-reward.png │ ├── es_ffdo_DQNAgent-High-throughput.png │ ├── es_ffdo_DQNAgent-Low-avarage-cumulative-delay.png │ ├── es_ffdo_DQNAgent-Low-avarage-queue.png │ ├── es_ffdo_DQNAgent-Low-reward.png │ ├── es_ffdo_DQNAgent-Low-throughput.png │ ├── es_ffdo_DQNAgent-North-South-avarage-cumulative-delay.png │ ├── es_ffdo_DQNAgent-North-South-avarage-queue.png │ ├── es_ffdo_DQNAgent-North-South-reward.png │ ├── es_ffdo_DQNAgent-North-South-throughput.png │ ├── es_ffdo_DQNAgent-avarage-cumulative-delays.png │ ├── es_ffdo_DQNAgent-avarage-queues.png │ ├── es_ffdo_DQNAgent-rewards.png │ └── es_ffdo_DQNAgent-throughputs.png ├── histograms │ ├── test_avarage_waiting_time.png │ └── test_queued_vehicles.png └── lstm │ ├── LSTM Dropout DQNAgent-East-West-average-cumulative-waiting-time.png │ ├── LSTM Dropout DQNAgent-East-West-average-queued-vehicles-per-step.png │ ├── LSTM Dropout DQNAgent-East-West-reward.png │ ├── LSTM Dropout DQNAgent-East-West-throughput.png │ ├── LSTM Dropout DQNAgent-High-average-cumulative-waiting-time.png │ ├── LSTM Dropout DQNAgent-High-average-queued-vehicles-per-step.png │ ├── LSTM Dropout DQNAgent-High-reward.png │ ├── LSTM Dropout DQNAgent-High-throughput.png │ ├── LSTM Dropout DQNAgent-Low-average-cumulative-waiting-time.png │ ├── LSTM Dropout DQNAgent-Low-average-queued-vehicles-per-step.png │ ├── LSTM Dropout DQNAgent-Low-reward.png │ ├── LSTM Dropout DQNAgent-Low-throughput.png │ ├── LSTM Dropout DQNAgent-North-South-average-cumulative-waiting-time.png │ ├── LSTM Dropout DQNAgent-North-South-average-queued-vehicles-per-step.png │ ├── LSTM Dropout DQNAgent-North-South-reward.png │ ├── LSTM Dropout DQNAgent-North-South-throughput.png │ ├── LSTM Dropout DQNAgent-average-cumulative-waiting-times.png │ ├── LSTM Dropout DQNAgent-average-queued-vehicles-per-steps.png │ ├── LSTM Dropout DQNAgent-rewards.png │ └── LSTM Dropout DQNAgent-throughputs.png ├── playground.py ├── plot_stats.py ├── pylama.ini ├── re-plot.py ├── run_naive.py ├── simulators ├── simulator.py ├── simulator_gru.py ├── simulator_gru_backup_2.py ├── simulator_grubackup.py └── simulator_naive.py ├── test.py ├── train.py ├── train.sh └── train_lstm.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/.gitignore -------------------------------------------------------------------------------- /agents/GRU_ReLU_DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/agents/GRU_ReLU_DQNAgent.py -------------------------------------------------------------------------------- /agents/GRU_Swish_DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/agents/GRU_Swish_DQNAgent.py -------------------------------------------------------------------------------- /agents/ReLU_DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/agents/ReLU_DQNAgent.py -------------------------------------------------------------------------------- /agents/Swish_DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/agents/Swish_DQNAgent.py -------------------------------------------------------------------------------- /agents/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drl-test-results.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/drl-test-results.ods -------------------------------------------------------------------------------- /environments/east-west/tlcs.net.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/east-west/tlcs.net.xml -------------------------------------------------------------------------------- /environments/east-west/tlcs_config_train.sumocfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/east-west/tlcs_config_train.sumocfg -------------------------------------------------------------------------------- /environments/east-west/tlcs_train.rou.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/east-west/tlcs_train.rou.xml -------------------------------------------------------------------------------- /environments/east-west/tripinfo.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/east-west/tripinfo.xml -------------------------------------------------------------------------------- /environments/high/tlcs.net.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/high/tlcs.net.xml -------------------------------------------------------------------------------- /environments/high/tlcs_config_train.sumocfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/high/tlcs_config_train.sumocfg -------------------------------------------------------------------------------- /environments/high/tlcs_train.rou.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/high/tlcs_train.rou.xml -------------------------------------------------------------------------------- /environments/high/tripinfo.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/high/tripinfo.xml -------------------------------------------------------------------------------- /environments/low/tlcs.net.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/low/tlcs.net.xml -------------------------------------------------------------------------------- /environments/low/tlcs_config_train.sumocfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/low/tlcs_config_train.sumocfg -------------------------------------------------------------------------------- /environments/low/tlcs_train.rou.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/low/tlcs_train.rou.xml -------------------------------------------------------------------------------- /environments/low/tripinfo.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/low/tripinfo.xml -------------------------------------------------------------------------------- /environments/north-south/tlcs.net.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/north-south/tlcs.net.xml -------------------------------------------------------------------------------- /environments/north-south/tlcs_config_train.sumocfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/north-south/tlcs_config_train.sumocfg -------------------------------------------------------------------------------- /environments/north-south/tlcs_train.rou.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/north-south/tlcs_train.rou.xml -------------------------------------------------------------------------------- /environments/north-south/tripinfo.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/environments/north-south/tripinfo.xml -------------------------------------------------------------------------------- /feed_forward_dropout/DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/DQNAgent.py -------------------------------------------------------------------------------- /feed_forward_dropout/es_ffdo_DQNAgent_weights: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/es_ffdo_DQNAgent_weights -------------------------------------------------------------------------------- /feed_forward_dropout/ffdo_DQNAgent_weights: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/ffdo_DQNAgent_weights -------------------------------------------------------------------------------- /feed_forward_dropout/simulator_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/simulator_test.py -------------------------------------------------------------------------------- /feed_forward_dropout/simulator_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/simulator_train.py -------------------------------------------------------------------------------- /feed_forward_dropout/web_agent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/web_agent_test.py -------------------------------------------------------------------------------- /feed_forward_dropout/web_agent_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/feed_forward_dropout/web_agent_train.py -------------------------------------------------------------------------------- /generate_routefile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/generate_routefile.py -------------------------------------------------------------------------------- /history/AVG_INTERSECTION_QUEUE_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/AVG_INTERSECTION_QUEUE_STORE.out -------------------------------------------------------------------------------- /history/AVG_WAIT_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/AVG_WAIT_STORE.out -------------------------------------------------------------------------------- /history/REWARD_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/REWARD_STORE.out -------------------------------------------------------------------------------- /history/THROUGHPUT_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/THROUGHPUT_STORE.out -------------------------------------------------------------------------------- /history/feed-forward-do/AVG_INTERSECTION_QUEUE_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/feed-forward-do/AVG_INTERSECTION_QUEUE_STORE.out -------------------------------------------------------------------------------- /history/feed-forward-do/AVG_WAIT_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/feed-forward-do/AVG_WAIT_STORE.out -------------------------------------------------------------------------------- /history/feed-forward-do/REWARD_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/feed-forward-do/REWARD_STORE.out -------------------------------------------------------------------------------- /history/feed-forward-do/THROUGHPUT_STORE.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/history/feed-forward-do/THROUGHPUT_STORE.out -------------------------------------------------------------------------------- /lstm_dropout/DQNAgent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/lstm_dropout/DQNAgent.py -------------------------------------------------------------------------------- /lstm_dropout/lstmdo_DQNAgent_weights: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/lstm_dropout/lstmdo_DQNAgent_weights -------------------------------------------------------------------------------- /lstm_dropout/simulator_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/lstm_dropout/simulator_train.py -------------------------------------------------------------------------------- /lstm_dropout/web_agent_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/lstm_dropout/web_agent_train.py -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-avarage-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-avarage-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-avarage-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-avarage-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-reward.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-East-West-throughput.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-avarage-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-avarage-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-avarage-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-avarage-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-reward.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-High-throughput.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-avarage-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-avarage-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-avarage-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-avarage-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-reward.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-Low-throughput.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-avarage-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-avarage-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-avarage-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-avarage-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-reward.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-North-South-throughput.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-avarage-cumulative-waiting-times.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-avarage-cumulative-waiting-times.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-avarage-queued-vehicles-per-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-avarage-queued-vehicles-per-steps.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-rewards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-rewards.png -------------------------------------------------------------------------------- /output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-throughputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/Feed-Forward Dropout/Feed-Forward Dropout DQNAgent-throughputs.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-avarage-cumulative-delay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-avarage-cumulative-delay.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-avarage-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-avarage-queue.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-reward.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-East-West-throughput.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-High-avarage-cumulative-delay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-High-avarage-cumulative-delay.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-High-avarage-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-High-avarage-queue.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-High-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-High-reward.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-High-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-High-throughput.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-Low-avarage-cumulative-delay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-Low-avarage-cumulative-delay.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-Low-avarage-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-Low-avarage-queue.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-Low-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-Low-reward.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-Low-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-Low-throughput.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-avarage-cumulative-delay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-avarage-cumulative-delay.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-avarage-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-avarage-queue.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-reward.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-North-South-throughput.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-avarage-cumulative-delays.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-avarage-cumulative-delays.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-avarage-queues.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-avarage-queues.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-rewards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-rewards.png -------------------------------------------------------------------------------- /output_figures/es_ffdo/es_ffdo_DQNAgent-throughputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/es_ffdo/es_ffdo_DQNAgent-throughputs.png -------------------------------------------------------------------------------- /output_figures/histograms/test_avarage_waiting_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/histograms/test_avarage_waiting_time.png -------------------------------------------------------------------------------- /output_figures/histograms/test_queued_vehicles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/histograms/test_queued_vehicles.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-East-West-average-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-East-West-average-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-East-West-average-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-East-West-average-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-East-West-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-East-West-reward.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-East-West-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-East-West-throughput.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-High-average-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-High-average-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-High-average-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-High-average-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-High-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-High-reward.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-High-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-High-throughput.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-Low-average-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-Low-average-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-Low-average-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-Low-average-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-Low-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-Low-reward.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-Low-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-Low-throughput.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-North-South-average-cumulative-waiting-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-North-South-average-cumulative-waiting-time.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-North-South-average-queued-vehicles-per-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-North-South-average-queued-vehicles-per-step.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-North-South-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-North-South-reward.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-North-South-throughput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-North-South-throughput.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-average-cumulative-waiting-times.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-average-cumulative-waiting-times.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-average-queued-vehicles-per-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-average-queued-vehicles-per-steps.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-rewards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-rewards.png -------------------------------------------------------------------------------- /output_figures/lstm/LSTM Dropout DQNAgent-throughputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/output_figures/lstm/LSTM Dropout DQNAgent-throughputs.png -------------------------------------------------------------------------------- /playground.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/playground.py -------------------------------------------------------------------------------- /plot_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/plot_stats.py -------------------------------------------------------------------------------- /pylama.ini: -------------------------------------------------------------------------------- 1 | ignore = E501 2 | 3 | [pep8] 4 | max_line_length = 120 5 | -------------------------------------------------------------------------------- /re-plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/re-plot.py -------------------------------------------------------------------------------- /run_naive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/run_naive.py -------------------------------------------------------------------------------- /simulators/simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/simulators/simulator.py -------------------------------------------------------------------------------- /simulators/simulator_gru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/simulators/simulator_gru.py -------------------------------------------------------------------------------- /simulators/simulator_gru_backup_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/simulators/simulator_gru_backup_2.py -------------------------------------------------------------------------------- /simulators/simulator_grubackup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/simulators/simulator_grubackup.py -------------------------------------------------------------------------------- /simulators/simulator_naive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/simulators/simulator_naive.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/test.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/train.py -------------------------------------------------------------------------------- /train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/train.sh -------------------------------------------------------------------------------- /train_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmenRa/drl-traffic-lights-control/HEAD/train_lstm.py --------------------------------------------------------------------------------