街道小区服务设施的优化布局.doc

上传人:laozhun 文档编号:2802057 上传时间:2023-02-25 格式:DOC 页数:2 大小:13.50KB
返回 下载 相关 举报
街道小区服务设施的优化布局.doc_第1页
第1页 / 共2页
街道小区服务设施的优化布局.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《街道小区服务设施的优化布局.doc》由会员分享,可在线阅读,更多相关《街道小区服务设施的优化布局.doc(2页珍藏版)》请在三一办公上搜索。

1、街道小区服务设施的优化布局 摘  要本文解决了1个带权值的网络最优化问题。结合图论相关知识对问题进行综合分析,分别采用1维数组和邻接矩阵来存储小区内居民数量和小区间的距离信息。通过对问题1的定量分析,把线路铺设方案的求解问题转化为构造连通网的最小代价生成树,运用普里姆算法对此问题进行求解;通过对问题2的定性分析,把服务设施点选址问题转化为求源点到其余各顶点的最短路径问题,选用迪杰斯特拉算法对其进行求解。  根据普里姆算法和迪杰斯特拉算法,编写C+程序对该街道居民的路径选取过程进行模拟。所得结论显示问题解答结果与分析的结论相吻合,从而得出最佳线路铺设方案,并成功解决服务设施点

2、选址问题。关键词:邻接矩阵;普里姆算法;迪杰斯特拉算法;最短路径;最小生成树。AbstractThis article has resolved a network optimization problem which has an weight. Uniting the knowledge in the diagram theory, we analyze the problem comprehensively, and adopt one dimension array and adjacency matrix to store the number of the residents re

3、sided in this section and the distance between two different sections. By quantitatively analyzing question one, we change the problem of the paving connection scheme into constructing the Minimum Cost Spanning Tree for connected network, and make Prim algorithm to answer the question; By quantitati

4、vely analyzing question two, we change the choosing address issue of service establishment into answering the shortest path for other verticals, we make Dijkstra algorithm to answer this question.Based on Prim algorithm and Dijkstra algorithm, we simulate the choosing path process of this street by C+ program. The result shows that: the result of trouble shooting same to the analyzing result, and we succeed to answer the choosing address issue of service establishment.Keywords: adjacency matrix; Prim algorithm; Dijkstra algorithm; The most short-circuit path; Minimal spanning tree.

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 建筑/施工/环境 > 项目建议


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号