Algorithm NC : |
β(1) Find a Steiner tree connects to terminals in |
β(2) Find a Steiner tree connects to terminals in |
β(3) For each link update |
β(4) Find a Steiner tree that connects to terminals in |
β(5) Assign zero cost to all edges in |
β(6) For each terminal let be the shortest distance between and |
β(7) For all terminals in the increasing order of do: |
β(8)ββLet be a graph formed from by reversing all edges in , where is a path from to in |
β(9)ββFind shortest path from source to terminal in |
β(10)βββAssign zero cost to all edges of |
β(11) For each edge ββdo |
β(12)βββIf there exists an edge , remove from |
β(13)ββOtherwise, add to |
β(14) Return , and |