最大路径算法在原条量材优化中的应用及其优化
Application and Optimization of Longest Path Algorithm in TreeLength Scaling
Longest Path Algorithm in TreeLength Scaling
-
摘要: 在分析求解最短路径问题与求解最大路径问题差异的基础上,给出了一种在有向图中采用动态规划策略求解最大路径的算法,将其应用到原条量材网络图中求解原条最优量材问题;并提出了采用量材三角形优化原条量材网络图的一种优化方法,降低了算法的复杂度.通过实验验证了算法与优化方法的正确性与可行性.Abstract: Based on the analysis of the similarities and differences between solving the shortest path problem and solving the longest path problem, an algorithm using the dynamic programming strategy was given to solve the longest problem in directed graph. The algorithm was applied to the treelength scaling network to solve the optimal treelength scaling problem. An optimization method using the treelength scaling triangle was proposed to optimize treelength scaling network. It reduced the complexity of the algorithm. The correctness and feasibility of the algorithm and optimization methods were verified through the experiments.