Research Article
A Person-Based Adaptive Traffic Signal Control Method with Cooperative Transit Signal Priority
Algorithm 2
Finding an optimal speed.
| Input: bus order (b), bus speed (), distance to intersection (L), , and passing probability of pervious time step (PreStepPassProb) | | Output: speed advisory (OptimalSpeed or ) | (1) | Initialization: passProb = 0 MaxPassProb = 0 PreStepPassProb = 0 | (2) | For: | (3) | PassProb = Algorithm 1 (input: b, v, L, Tj,k, gj,k) | (4) | If: | (5) | | (6) | | (7) | Ifthen: | (8) | | (9) | Return | (10) | Else: | (11) | Return |
|