搜索资源列表
C-suanfa
- c语言常用的算法,数字、字母排序、大小比较等-c language commonly used algorithm,Numbers, letters Sort,Comparison, etc.
sort_compare
- 比较了常用的内部排序算法在原始数据是正序、乱序、逆序时的移动次数和比较次数。-This paper uses commonly used internal sorting algorithm to compare the number of moves and comparisons when the original data is positive-sequence, out of order and in reverse order.
bitreezonghe
- /*综合性试验(排序二叉树) 1.建立一棵排序二叉树(随机产生1000个0~999的数) 2.前、中、反中序遍历 3.统计叶子数、结点数、深度 4.查找、插入、删除 5.求最大、最小值 6.求查找的次数n1,与二分查找作比较(n1>n2,二叉树不均衡) 7.排序算法与中序遍历的效率比较 *8.将上述各步的结果写入文件(result.txt)-/* Test (sort of binary tree) (1) to establish a sort bin
Algorithm-experiment-report
- 算法的完整实验报告,内容包含:提公因子,排序和BF/BP算法比较 内含截图和源代码-Complete experimental report of the algorithm includes: mention common factor, sort and BF/BP algorithm contains screenshots and source code
qsort_random
- 快速排序算法,随机快速排序方式,对于不同的数据输入,有着比较均衡的性能,在某些有规律的数据组合下,性能可能稍逊色-Quick sort algorithm, random quick sort, with a more balanced performance for different data input, under certain laws of combination of data, performance may be slightly less
a
- 快速排序算法原理以及相应的实现方法,比较优缺点-Quicksort algorithm principle and the corresponding method, compare the advantages and disadvantages
paixu
- 使用简单数组实现下面各种排序算法,并进行比较。 排序算法: 1、插入排序 2、希尔排序 3、冒泡排序 4、快速排序 5、简单选择排序 6、堆排序 7、归并排序 8、基数排序 要求: 1、测试数据分成三类:正序、逆序、随机数据 2、对于这三类数据,比较上述排序算法中关键字的比较次数和移动次数(其中关键字交换计为3次移动)。 3、对于这三类数据,比较上述排序算法中不同算法的执行时间,精确到微秒-Using a simple ar
Sort
- 该代码实现了各种常见的排序算法,并且对各种算法的复杂度做了简单的比较,程序还设计了简单的互动界面。-The code to achieve the common sorting algorithms, and complexity of various algorithms to do a simple comparison, the program has also designed a simple interactive interface.
www
- 内排序的比较算法,有助于同学们理解掌握堆排序,比较排序的各种区别愈发咋读-daji fse osk psk pseg[p kgkse s sk
source
- //给定平面上的几个点 求某个矩形区域包含几个点 //要是点的坐标比较小 可以直接N^2的预处理 1的查询 对每次查询暴力当然也可以,但是适用性可以认为为0。。。 //这个算法不受点的坐标的影响 也不受矩形坐标的影响 效率为nlogn + mlogn n:点的个数 m:为查询次数 //先对数据已x坐标排序 ,这样可以二分出大致区间 //对于y坐标的处理(我上一年的时候直接暴力), 昨天忽然灵感突现,用归并树保存x坐标排序后的数据的每段的y坐标序,然后再进行二分) -//Gi
sort
- 对数据结构中介绍的各种排序算法,进行编程实现并比较他们的性能-Various sorting algorithms described in the data structure, programming, and compare their performance
fengzhisuanfa
- 分治算法代码以比较为基础的排序时间的下界-The lower bound of the divide and conquer algorithm code to comparison-based sorting time
jxy
- 能够用键盘控制生成随机数 并排序。同时比较不同算法的时间-Can be controlled using the keyboard generates random numbers and sort. Compare different algorithms time
paixu
- 用java编写图形用户界面的排序算法,并给出交换次数和比较次数-Sorting algorithm, and gives the number of exchange and comparison of the number of
exp
- 这是一个各种数据结构中的排序算法,排序,插入等操作的程序,程序可以比较各种算法对同一数据,或者不同数据的排序时间进行分析。同时还有实验报告-This is in the sorting operation of the algorithm, sort, insert, etc., in a variety of data structures, programs can compare various algorithms for analysis of the same data or dif
MY_CHOICE_BSORT
- 快速排序的一种改进,叫做Bsort。同时与其他各种算法进行比较。例如,快速排序,归并排序等。-improvement of quick sort call Bsort
Algorithm-program
- 算法程序,里面封装了算法中最常用的排序方法,通过数组和指针的比较列举他们的不同-Algorithm program, which encapsulates the most commonly used method of sorting algorithm to enumerate their different arrays and pointers
paixu
- Switch 可能转化成多种不同算法的代码。其中最常见的是跳转表和比较链/树。当switch用比较链的方式转化时,编译器会产生if-else-if的嵌套代码,并按照顺序进行比较,匹配时就跳转到满足条件的语句执行。所以可以对case的值依照发生的可能性进行排序,把最有可能的放在第一位,这样可以提高性能。-Switch could be transformed into a variety of different algorithm code. One of the most common is
search-hfut7
- 合肥工业大学数据结构试验七查找 包括完整的实验要求、实验预习报告、实验最终报告 实验要求: <1> 对下列数据表,分别采用二分查找算法实现查找,给出查找过程依次所比较的元素(的下标),并以二分查找的判定树来解释。 <2> 设计出在二叉排序树中插入结点的算法,在此基础上实现构建二叉排序树的算法。 <3> 设计算法在二叉排序树中查找指定值的结点。 <4> 设计算法在二叉排序树中删除特定值的结点
paixu
- 几个经典的排序算法,如冒泡排序、快速排序、堆排序、直接选择排序等,可以统计时间、比较次数和移动次数。-Several classic sorting algorithms, such as bubble sort, quick sort, heap sort, direct selection sort, statistical time, the number of comparisons and the number of moves.