| Algorithm 2 The Edge-Cutting Strategy |
|
Input: the minimum routing graph, the layered set L, initial load of node i in the minimum routing graph Output: the minimum routing tree 1. for 2. while () //complete edge-cutting for all nodes of layer . 3. if exist a node “a” with the least load at the layer 4. if exist multiple candidate parent nodes of the child nodes of node “a” 5. Cut off the link between the child nodes of “a” and other candidate parent nodes. 6. end 7. else if exist multiple nodes with the least load at the layer 8. Calculate the node product , and set the node with the smallest node product to “a”. 9. if the child node of node “a” exist multiple candidate parent nodes. 10. Cut off the link between the child nodes of “a” and its other candidate parent nodes. 11. end 12. update -a //delete the node “a” 13. end 14. Recalculate the load of all nodes 15. end 16. end 17. return the minimum routing tree |