期刊文献+

基于分治策略的两种排序算法和基于贪心算法的两种问题的讨论 被引量:1

On Discussion of Two Sorting Algorithms Based on Divide-and-Conquer and Two Problems Based on Greedy Algorithms
在线阅读 下载PDF
导出
摘要 本文主要描述了分治策略和贪心算法的基本思想,并且用分治策略实现了快速排序和归并排序两种排序算法。从分、解、合三方面剖析排序,从而得到分割方式影响排序效率的关键,并将分治法扩展应用到更多排序方法中。本文还用贪心算法实现了背包问题与单源点最短路径问题,从荷值比等方面对资源分配进行分析,并将贪心算法应用更广泛。 This paper describes the basic idea of greedy algorithms and the strategy of Divide- and-Conquer, with which quick-sort and merge-sort are implemented . Analysis of the three sorts from the points , the solution and combined , resulting in split by which way is the key to affect the efficiency of the sorting , and will extend Divide-and-Conquer to more sorting method . This article also solve the knapsack and single-source-shorted path problems with greedy algorithm , analysis the value from the charge in terms of resource allocation , and the greedy algorithm is applied more widely .
作者 杨莉菁
出处 《武汉船舶职业技术学院学报》 2013年第1期30-36,共7页 Journal of Wuhan Institute of Shipbuilding Technology
关键词 分治策略 贪心算法 快速排序 归并排序 背包问题 单源点最短路径问题 divide-and-conquer greedy algorithms quick-sort merge-sort knapsack prob- lem single-source shortest path problem
  • 相关文献

参考文献14

二级参考文献44

共引文献51

同被引文献3

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部