本文对给水环状管网进行优化搜索,采用Kruskal算法达到了自动生成树的目的。通过在AutoCAD平台上遍历所有管段,筛选出应删除的管段,拆分环状网为树状管网,同时识别每个管段的权重以保留管道,实现自动生成树可提高环状管网初分配管段流量的设计效率。
Abstract
Optimization search of looped pipe network to achieve the building of automatic tree generation by Kruskal algorithm. All the pipes are traversed on the Auto CAD platform and deledted the screened pipes to form the tree pipe network.Retain the necessary pipes by identifying the weight of each pipe segment. The design effciency of the initial distributed fluxes can be improved by implement the automatic spanning tree.
关键词
生成树 /
Kruskal算法 /
优化搜索 /
AutoCAD
{{custom_keyword}} /
Key words
spanning tree /
Kruskal algorithm /
optimization search /
AutoCAD
{{custom_keyword}} /
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 赵星明, 王萱.环状给水管网关联矩阵的建立[J][J].中国农村水利水电, 2012, (11):129-1351
[2] 严煦世, 刘遂庆.给水排水管网系统(第三版)[M].北京中国建筑工业出版社, 2014, :79-80
[3] 唐策善, 李龙澍, 黄刘生.数据结构[M].高等教育出版社, 2000, :123-135
[4] 卢有杰, 吴炜煜.C语言高级程序设计[M].北京:清华大学出版社, 1991, :19-86
[5]赵星明, 王萱.基于扩展数据的给排水管网拓扑关系的构建[J].山东农业大学学报自然科学版, 2012, 43(04):549-554
[6]宋芹, 赵星明, 艾典胜.输水管道水锤分析与防护技术[J].山东农业大学学报自然科学版, 2017, 48(01):84-87