|
Algorithm 1 Dedicated Path Protection Algorithm |
| In: graph G, source vertex s, target vertex t
|
| Out: a cheapest pair of paths, and their CUs |
| Here, we concentrate on permanent solutions . |
whileQ is not empty do
if
then
continue the main loop
// Remove from the set of tentative solutions for x.
// Add to the set of permanent solutions for x.
if
then
break the main loop
for each out edge of vertex in G do
for each out edge of vertex in G do
return
|