Skip to main content
. 2019 Apr 13;19(8):1776. doi: 10.3390/s19081776
Algorithm 1: Decentralized Traffic Control Algorithm
  1.   acquire current cell states ci,j

  2.   predict occupancy of traffic lanes di

  3.   if not setup time then

  4.     begin // minimum green period constraint

  5.     for each signal group gG do

  6.     if signal group g was not active longer than T-1 time steps then

  7.      begin //inter-green period constraint

  8.      active group g*:=g

  9.      go to 13

  10.      end

  11.     estimate priorities πg for all signal groups g = 1, ..., #G

  12.     active group g* := control group with the highest priority πg*=max{π1,...,π#G}

  13.     end