搜索资源列表
排序比较
- 排序算法的性能比较 对不同类型的问题规模,测试各种介绍的排序算法的性能。统计他们的键值比较次数,键值移动次数以及运行时间并分析结果。 小型问题:N≈20 中型问题:N≈2000 大型问题:N≈200000. C 语言的32关键字如下: 实验原理: 线性表的排序,快速,起泡,选择,插入。-algorithm to compare the performance of different types of scale of the problem, introduced by the test a
算法设计与分析实验
- 哈夫曼编码。排序问题,利用贪心算法的思想实现哈夫曼编码算法程序 -Huffman coding. Scheduling problems, the greedy algorithm achieving Huffman coding algorithm
利用分治策略实现自然合并排序算法程序;
- 利用分治策略实现自然合并排序算法程序 方便地解决排序的问题-use the divide and conquer strategy to achieve natural merger procedures to facilitate sorting algorithm to solve the problem of sorting
railk
- 最优车皮排序问题 .问题描述: 在一个列车调度站中,k 条轨道连接到k 条侧轨处,形成k 个铁路转轨栈,从左到右依 次记为H1,H2,…,Hk 如下图所示。其中左边轨道为车皮入口(记为H0),右边轨道为出 口(记为Hk+1),编号为a1, a2,.,an 的n 个车皮从入口依次进入转轨栈,由调度室安排车 皮进出栈次序,并对车皮按其出栈次序重新排序为1,2,…,n。 调度室在安排车皮进出栈次序时,遵循以下规则: (1) 车皮入口H0 处的车
railqk
- 最优平行轨道车皮排序问题 .问题描述: 在一个列车调度站中,k 条轨道平行连接到1 条侧轨处,形成1 条主轨道和k-1 条辅助 调度轨道。主轨道记为Hk,辅助轨道从下到上依次记为H1,H2,…,Hk-1 如下图所示。其 中主轨道左边为车皮入口(记为H0),主轨道右边为出口(仍记为Hk)。编号为a1, a2,L,an 的n 个车皮从入口依次进入主轨道,由调度室安排车皮进出轨次序,并对车皮按其出轨次序 重新排序为1,2,…,n。 调度室在安
十五人排序
- 数学问题\\十五人排序-mathematical problem \\ 15 Ranking
TabCtrl
- 这是一个ListCtrl的例子,他能够很好的解决CListCtrl的排序问题
030300741
- 最优平行轨道车皮排序问题« 编程任务:给定正整数n,和n个车皮的初始编号n a , a , ,a 1 2 L ,编程计算最少需要多少个平行轨道才能按照规则(1)和(2)调度车皮,使车皮在车皮出口按照1,2,…,n的顺序输出。« 数据输入:由文件input.txt 给出输入数据。第1 行有1 个正整数n,表示有n 个车皮。第2 行是n个车皮的初始编号n a , a , ,a 1 2 L 。-optimal parallel tracks wagon laquo schedu
sortlistctrldemo
- 能实现列表控件的排序问题,主要是封装了排序类,原本列表控件是没有排序的功能,只要调用哪个类就行了-List control to achieve the sort problem is sorting class encapsulates the original list, there is no sort of control function, which class as long as the call on the line
SKLSC
- 现今全球哈萨克人使用三种文字,而其中拉丁字母为基础的(欧洲和美国,土耳其使用)文字和西里尔字母为基础的(哈萨克斯坦,其他前苏联共和国使用)文字的排序问题早已解决。本程序解决了对阿拉伯字母为基础的(中国,阿拉伯国家使用)哈萨克文字的排序问题。-Kazakhstan the world today use three languages, of which the Latin alphabet-based (Europe and the United States, Turkey, the use
Common_algorithm_Template_library_(C++)
- 这是一个常用算法模板库(C++),包括有排序算法、数学问题、查找、栈、队列、串、 树、图、高精度计算等九个部分的常用算法。非常实用!-This is a commonly used algorithm for template library (C++), Including the sorting algorithm, a mathematical problem to find, stacks, queues, strings, trees, maps, high-precision cal
hechangdui
- 合唱队形算法,解决合唱队列排序问题的算法程序。-Chorus formation algorithm to solve scheduling problem choirs queue algorithm program.
bucketSort
- (吊桶排序法)吊桶排序法源于一维正整数数组的排序问题,它使用了一个行从下标从0-9,列下标从0-n-1(n是一维数组中的元素数目)的二维整数数组,二维数组的每一行叫做一个吊桶(bucket)。-(Bucket sorting method) bucket sort method from the one-dimensional array of positive integer scheduling problem, it uses a line from the subscr ipt from
Sort
- 快速排序问题,利用快速排序的原理给输入的一组数据进行排序-Express scheduling problem, using the principle of quick sort to enter one set of data to sort
sortandsize
- 排序问题以及比较数的大小的一些小程序,用C写的-Sort relatively few questions, as well as the size of some small procedures, using the Writing C
WorkSort
- 工作的最佳排序问题 VC编写,对话框形式,《图与网络》里的哈密尔顿轨和竞赛图-The best scheduling problem
selectsort
- 算法设计中的选择排序问题,调试通过,VC++中编写-select sort vc++
7、关键路径问题
- 拓扑排序主要是为了解决一个工程能否顺利进行的问题,但有时我们还需要解决工程完成所需要的最短时间问题。我们如果对一个流程图获得最短时间,就需要分析它们的拓扑关系,并且找到当中的最关键流程,这个流程的时间就是最短时间。(Topological sorting is mainly to solve the problem of whether a project can be carried out smoothly, but sometimes we need to solve the shorte
新建 WinRAR 压缩文件
- 该程序是分别使用快速排序、插入排序、选择排序、冒泡排序、堆排序、归并排序、基数排序制作的,可以选择其一实现数组排序,通过主函数调用实现七种算法的演示。当输入一个数组的元素个数和数组元素之后可以选择七种排序方法之一进行排序并按从小到大的顺序输出。(The program is using fast sorting, insert sort, select sort, bubble sort, heap sort, merge sort, radix sort production, you can
排序递归算法
- 数组做函数参数的退回问题 退回为一个指针, 1 正确做法:把数组的内存首地址和数组的有效长度传给被调用函数 2 //实参的a 和 形参的a 的数据类型本质不一样形参中的数组 ,编译器会把它当成指针处理 这是C语言的特色排序 本质也剖析 3 形参写在函数上,和写在函数内是一样的,只不过是具有对外的属性而已.(The return problem of the array as a function parameter is returned to a pointer, 1 corre