| Algorithm 1. Computing the 0–1 covering matrix. |
| Input: , , delay |
| Output: |
| 1: Double dist[N]; |
| 2: For int to |
| 3: Dijkstra (, dist,); |
| 4: For int to |
| 5: Compute according to Formula (6); |
| 6: If (); |
| 7: Else if (); |
| 8: End for |
| 9: End for |
| Algorithm 1. Computing the 0–1 covering matrix. |
| Input: , , delay |
| Output: |
| 1: Double dist[N]; |
| 2: For int to |
| 3: Dijkstra (, dist,); |
| 4: For int to |
| 5: Compute according to Formula (6); |
| 6: If (); |
| 7: Else if (); |
| 8: End for |
| 9: End for |