请输入您要查询的字词:

 

单词 Prim’s algorithm(to solve the minimum connector problem)
释义
Prim’s algorithm(to solve the minimum connector problem)

Mathematics
  • This method is more effective than Kruskal’s algorithm when a large number of vertices and/or when the distances are listed in tabular form rather than shown on a graph. Since all vertices will be on the minimum connected route, it does not matter which vertex you choose as a starting point, so make an arbitrary choice, calling it P1 say. Now choose a point with the shortest edge connecting it to P1 and call it P2. At each stage add the edge and new point Pi which adds the shortest distance to the total and does not create any loops. Once Pn has been reached, the minimum connected path has been identified.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2025/2/6 0:03:58