搜索资源列表
-
0下载:
给定一个正整数的集合,子集和问题要求在这个正整数集合中,找出其和不超过正整数C的最大和数的子集,且设计的算法是基于近似算法的基本思想。-Given a set of positive integers, a subset of the requirements and problems in this set of positive integers, to find out and no more than the largest positive integer C, a subset of
-
-
0下载:
关于无线传感器网络的路由算法研究,在能量均衡上的经典LEACH算法,用matlab进行的仿真,能够实现!-Abstract: The distributed wireless sensor net work and the technol ogy of wireless communicati on could realize the subsidence monit oring
and measuring in coalmine goaf . One of the i mportant r
-
-
0下载:
基数排序
基数排序(radix sort)属于“分配式排序”(distribution sort),又称“桶子法”(bucket sort)或bin sort,顾名思义,它是透过键值的部份资讯,将要排序的元素分配至某些“桶”中,藉以达到排序的作用,基数排序法是属于稳定性的排序,其时间复杂度为O (nlog(r)m),其中r为所采取的基数,而m为堆数,在某些时候,基数排序法的效率高于其它的稳定性排序法。
快速排序
快速排序由C. A. R. Hoare在1962年提出。它的基本思想是
-
-
0下载:
本程序是在Microsoft Visual C++ 2010版本上编写的,用C语言编写,通过算术算法的编码思想,实现将输入的源代码通过算术编码转化为二进制编码,并输出
(1)本程序仅限于输入的源代码为0-9这十个数字构成的,可以是这十个符号中的任意个符号构成,
(2)程序运行时需要输入要编码的原代码,源代码的个数不能超过十个
(3)输入完毕后即可显示经过编码后的二进制数-This procedure is written in Microsoft Visual C++ 2010 ve
-
-
0下载:
可以指定查看指定个数的解。在进行遍历过程中用到了贪心算法和回溯的思想。(You can specify the solution to the specified number. In the process of traversing, we use greedy algorithm and backtracking idea.)
-