Research Article

Research on Phase Combination and Signal Timing Based on Improved K-Medoids Algorithm for Intersection Signal Control

Algorithm 1

Phase combination.
Input:
 The distance matrix
Output:
 The final phase combination scheme
Begin
1. for , do
2, For , do
3.   If Then
4.    
5.   End If
6.  End For
7.
8. While
9.  
10.  
11.  
12.  
13.
14.
15.
16.
End