搜索资源列表
-
0下载:
《Delphi算法与数据结构》源码
Delphi开发人员Julian Bucknall从实用角度为广大程序员提供了有关使用算法和数据结构的一个详尽的介绍。Bucknall先从算法性能的讨论开始,涵盖了诸如数组、链表和二叉树等内容。这本书强调了查找算法(如顺序和二分查找),另外也重点介绍了排序算法(包括冒泡排序、插入排序、希尔排序、快速排序和堆排序),此外还提供了有关的优化技术。不仅如此,作者还介绍了散列和散列表、优先队列、状态机和正则表达式以及诸如哈夫曼和LZ77等数据压缩技术。
随附光
-
-
0下载:
用堆实现优先队列-used Heap priority queue
-
-
0下载:
最大堆的生成、堆排序,以及一个简单的最大优先队列的实现。-The largest generation heap, heap sort, as well as a simple realization of the greatest priority queue.
-
-
0下载:
用c++的STL实现大根堆和小根堆,实现相当方便简单,优先队列效率好-Large root heap and small root heap, quite simple priority queue efficiency c++ the STL
-
-
0下载:
数据结构:优先队列(最大堆、最大左高树)最大左高树的初始化使用了数组描述的队列-Data structure: priority queue (maximum heap, the largest left-high tree) to initialize the greatest left-high tree using the array described in the queue
-
-
0下载:
1. 此程式執行將從路徑讀取一個文字檔 ( 路徑:C:INPUT.TXT )
2. 執行結束會產生一個排序後的文字檔 ( 路徑:C:OUTPUT.TXT )
3. 給定的初始盤面一定有解
本程式採用的演算法策略為Best-first search with branch-and-bound algorithm
1. 使用Max heap 實作Priority queue
2. 使用bound function 估計目前盤面走至答案最少需要幾步
第一部分
所謂 h
-
-
0下载:
? 假设某医生看病人的顺序是由病人的病情严重程度来决定。护士按照所有病人来医院的时间顺序给病人编号ID,依次为1,2,3,…,n;并且根据病人的病情严重程度设置Priority值,病越重,Priority的值越小。当医生开始工作时,护士根据病人的Priority值,由小到大依次安排病人看病。试为护士编写程序安排病人看病的先后次序利用最小值堆实现一个优先队列。- Using the minimum heap to implement a priority queue.
-
-
0下载:
实现的是所有边权为正的最短路径算法的Dijkstra和优先队列Dijstra堆算法-The right of all sides to achieve a positive Dijkstra shortest path algorithm and the priority queue heap algorithm Dijstra
-
-
0下载:
最小值堆实现一个优先队列.利用优先队列存入所有病人的信息(编号和病情严重程度)。最后利用优先队列获得病人看病的次序。 -Minimum heap to implement a priority queue. Use the priority queue information stored in all patients (number and severity of the disease.) Finally, priority queue order to obtain the patien
-
-
0下载:
基于2-3树结构的字典、优先队列、可并堆、可连接队列算法实现-2-3 tree-based structure of the dictionary, priority queue, you can heap and can be connected to the queue algorithm
-
-
0下载:
泛型化的优先级队列(最小堆),用C++实现
使用前应重载小于号 -Generic priority queue(the minimum heap) with C++ achieve
-
-
0下载:
配位堆,可并优先队列的一种
在修改某个节点值时有不错的表现-Coordination heap, can be a priority queue has a good performance when the value of a node is modified
-
-
0下载:
使用循环队列创建最小和最大优先队列,并使用堆排序方法去排序。-Using the circular queue to create the min and max priority queue, and using heap sort method to sort the queue.
-
-
0下载:
1. 经典的算法实现 2. 服务器端 3. 正确,易于使用和改造, 一个头文件一个算法,并附带一个demo.
1. 一个算法用一个.h文件表示放到include下.2. 算法演示的demo程序放到src下.3. 程序正确通过后,请发起Pull Requests,代码被验证后入库,并在README中发布新算法实现。
已实现 ( Implemented ):
Array shuffle
Prime test(trial division)
Prime test(Mi
-
-
0下载:
An implementation of a priority queue backed by a Fibonacci heap.
-
-
0下载:
An implementation of a double-ended priority queue using an interval heap.
-
-
0下载:
Heaps where the parent key is greater than or equal to (≥) the child keys are called max-heaps those where it is less than or equal to (≤) are called min-heaps. Efficient (logarithmic time) algorithms are known for the two operations needed to implem
-
-
0下载:
数据结构实验,优先队列与堆,C++编程实现(Data structure experiment, priority queue and heap, C ++ programming implementation)
-