Signal Control Adaptive Model Based on Microtransformation of Urban Street Space
Algorithm 2
Step 1 Let k = 1, Initialize and
Step 2 If , while , then move into step 3. Otherwise, Stop algorithm 2.
Step 3 If , then update , and record the time that the vehicle arriving time , update the longest queue distance . (Scenario 1) Enter Step 5. Otherwise, use equations (6) and (7) to calculate the time that the vehicle arriving time update the longest queue distance (Scenario 2) Enter Step 4.
Step 4 If or Stop Algorithm 2. Otherwise. Record the time that the vehicle arriving time , and enter step 5.
Step 5 Update that k = k + 1, use equations (2) and (3) to calculate the arriving time of vehicle, , and move back to step. 2.