| Algorithm 1 CSFR |
| 1: : the failed node; : the 1-hop neighbors of node |
| 2: : the node connectivity materiality |
| 3: if then |
| 4: for every node j and in , which do |
| 5: if the distance and is the shortest distance among the 1-hop neighbors then |
| 6: , ; |
| 7: end if |
| 8: end for |
| 9: Algorithm 2 CC-link establishment |
| 10: end if |