搜索资源列表
priority_queues
- 是个HEAP SORT 算法..对一个数列进行HEAP SORT -is SORT algorithm Rd .. right for a series Rd SORT
3_9
- 在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分,并分析算法的计算复杂度。-in a circle around the playground are placed n gravel pile. Is a stone should order to be merged into a heap. Stipulated that only
Delphi_1016
- 《Delphi算法与数据结构》源码 Delphi开发人员Julian Bucknall从实用角度为广大程序员提供了有关使用算法和数据结构的一个详尽的介绍。Bucknall先从算法性能的讨论开始,涵盖了诸如数组、链表和二叉树等内容。这本书强调了查找算法(如顺序和二分查找),另外也重点介绍了排序算法(包括冒泡排序、插入排序、希尔排序、快速排序和堆排序),此外还提供了有关的优化技术。不仅如此,作者还介绍了散列和散列表、优先队列、状态机和正则表达式以及诸如哈夫曼和LZ77等数据压缩技术。 随附光
valgrind-3.2.1.tar
- The Valgrind distribution has multiple tools. The most popular is the memory checking tool (called Memcheck) which can detect many common memory errors such as: * touching memory you shouldn t (eg. overrunning heap block boundaries) *
quanpaixu
- 冒泡排序 直接选择排序 Shell排序 快速排序 归并排序 堆排序 直接插入排序基本算法 #include<iostream.h> #include<stdlib.h> #include<time.h> const int n=100000 typedef struct{ int key }RedType typedef struct{ RedType *r //r[n+1
JavaSortingMethod
- java 排序,冒泡排序,快速排序,选择排序,插入排序,堆排序,归并排序等等!-java ranking, bubble sort, quick sort, select Sort, insert sequencing, heap sort, merge sort, and so on!
rp89comdd
- rp89comdd mcs51单片机源码一堆-rp89comdd mcs51 SCM source heap
78EXXPCB22
- 78EXXPCB11 winbond51单片机源码一堆-78EXXPCB11 winbond51 SCM source heap
BuildHeapHeapify
- 堆排序——BuildHeap和Heapify函数的实现.txt-Heap Sort -- BuildHeap Heapify function and the realization. Txt
6paixusuanfa
- 1、 演示程序对6种内部排序算法(堆排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序)作输入实测比较。 2、 待排序表的元素的关键字为整数。用户可输入不同数据作测试比较。比较的指标为关键字参加的比较次数(用compCount计量)和关键字的移动次数(用shiftCount计量,关键字交换计为3次移动)。 3、 演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户可由键盘输入待排序表的表长(不大于20)和数据。 4、 每次测试完毕,显示各种
differenct
- 堆和栈的区别 一、预备知识—程序的内存分配 一个由c/C++编译的程序占用的内存分为以下几个部分 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。 2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收 。注意它与数据结构中的堆是两回事,分配方式倒是类似于链表,呵呵。 3、全局区(静态区)(static)—,全局变量和静态变量的存储是放在一块的,初始化的全局变量和静态变量在
bigdui
- 一个堆的排序的算法.我是个初学者,希望不会误人子弟-a heap of sorting algorithms. I was a beginner and not to harm
FibonacciHeap
- 斐波那契堆基于二项式堆,在支持以O(1)时间实现插入、合并和以O(log n)实现删除最小元素的基础上,进一步实现了以O(1)实现指定节点值减少和用O(log n)时间完成删除任意节点操作-Fibonacci heap-based binomial heaps of support to the O (1) time to achieve insertion, Merger and O (log n) to achieve the smallest element deleted on the
ImproveShortestPathArithmetic
- 应用斐波纳契堆和邻接表改进单源最短路径算法,使其算法的时间复杂性由O( )减少为O(nlogn+e),其中e为有向图的边的条数。-application Fibonacci heap and the adjacent table to improve single source shortest path algorithm, its algorithm's time complexity of O () reduced to O (nlogn e), where e is for th
LJTHREE
- 假设定义堆为满足如下性质的完全三叉树:(1)空树为堆;(2)根结点的值不小于所有子树根的值,且所有子树均为堆。编写利用上述定义的堆进行排序的算法,并分析推导算法的时间复杂度。-assumptions to meet the definition of reactor following the complete nature of the trigeminal tree : (1) Air trees reactor; (2) The root node is not less than the
sort-all
- 本程序完成实验要求的全部功能直接插入排序、SHELL排序、冒泡排序、快速排序、简单选择排序、堆排序、归并排序、基数排序,程序代码符合书写规范,实验报告叙述清晰完整,有详尽的分析和总结。 在实验过程中,积极配合本团队分工合作的精神,努力学习,总算不负众望,将程序编好,在此,我更想感谢的是老师的教导,在她的帮助下,我才顺利完成了本次的任务。 -the experimental procedures are completed all the functional requirements o
my-sort
- 内部排序算法比较,6种常用的内部排序算法进行实测比较:一趟冒泡排序、简单选择排序、快速排序、希尔排序、直接插入排序、堆排序。-internal sorting algorithm, six kinds of internal sorting algorithm measured comparison : Bubble Sort trip, Sort simple choice, quick sort, Hill, ranked direct insertion sort, heap sort.
heapxu
- 通过堆(heap)排序法对关键字成员为实数的结构体一维数组进行排序计算和数值模拟。-through the reactor (heap) the keyword method of ranking members of the real structure of the one-dimensional array by calculated and Numerical simulation.
06Heapsort
- heapsort,堆排序,很少有人介绍,可是却是一种基本的算法-heapsort, heap sort, there are very few people on, but they are a basic algorithm
374
- 一堆的神经网络c程序集合,包括BP,HOPFIELD等-heap of the neural network c pool procedures, including BP, Hopfield, etc.