- 1
- 0
- 约1.79万字
- 约 27页
- 2016-11-26 发布于辽宁
- 举报
本科生毕业设计(论文)
题 目: 二项堆和Fibonacci堆的分析与实现
姓 名: 陈 伟
学 号: 110901004
学 院: 数学与计算机科学学院
专 业: 计算机科学与技术
年 级: 2009 级
指导教师: (签名)
年 月 日
二项堆和Fibonacci堆的分析与实现
摘要
堆是计算机科学中一类特殊的数据结构的统称。堆通常被视为部分有序的树形对象。 堆总是满足堆中某个节点的值总是不大于或不小于其父节点的值这个特殊性质。通常将根节点最大的堆叫做最大堆或大根堆,根节点最小的堆叫做最小堆或小根堆。常见的堆的实现包括二叉堆、二项堆,斐波那契堆。堆也是计算机程序设计中经常用到的数据结构,在最短路算法的快速实现和最优编码的哈夫曼树实现中都需要用到堆. 同时堆也经常作为优先级队列来使用,在程序调度算法中发挥重要作用。斐波那契堆有着非常好的均摊运行时间,可是其数据结构和算法实现相对比较复杂,因此人们一直在寻找一种既能实现较好的均摊运行时间,同时数据结构相对比较简洁的实现算法。本课题的目的是学习连续空间上二叉堆的性质特点和离散空间上二项堆以及斐波那契堆的性质特点同时实现二项堆和斐波那契堆的具体算法。通过具体代码实现来对比二项堆和斐波那契堆实现的时间空间上消耗,对比起各自的优劣,同时探讨堆在具体应用中发挥的作用。
关键字:二叉堆,二项堆,斐波纳契堆,实现算法。
Performance analysis and Implementation for binomial heap and fibonacci heap
Abstract
Heap is a special kind of data structure in computer science. Heap is often viewed as partial ordered tree object. Heap is always meet a special quality that the value of a node is always greater than or less than the value of its parent . Usually the heap is called the maximum heap or big root heap if the value of root is the biggest, the minimum heap or small root heap if the value of root is the smallest. The implementation of heap including binary heap, binomial heap and fibonacci heap. Heap is a kind of data structure which is often used in the design of computer program, it is used in the fast implementation of shortest path algorithm and optimal coding algorithm of huffman tree. Simultaneously, heap is often used as a priority queue, playing an important role in process scheduling algorithm. Fibonacci heap has a very good capitation running time, but its data structure and algorithm implementation is relatively complicated, so people have been looking for a kind of data structure which has both good capitation running time an
您可能关注的文档
- 毕业设计论文__多跨简支箱型梁桥计算说明书.doc
- 毕业设计论文__多媒体在课件制作中的应用.doc
- 毕业设计论文__多人语音系统中多播树的设计与实现.doc
- 毕业设计论文__二层隧道协议研究及l2tpv3数据层的实现.doc
- 毕业设计论文__二级分流式减速器计算说明书 机械设计基础课程设计.doc
- 毕业设计论文__二级减速器设计课程设计计算说明书.doc
- 毕设论文__合肥市某高校综合楼设计 计算书.doc
- 毕业设计论文__二级蜗杆齿轮减速器设计 机械设计课程设计说明书.doc
- 毕业设计论文__二级展开式直齿圆柱齿轮减速器课程设计说明书.doc
- 毕业设计论文__二加二维激光加工机机械及控制系统设计 .doc
最近下载
- 常微分方程(第四版)课件 王高雄 高等教育出版社 第一章 绪论.pptx VIP
- 第四单元-第二章-第一节 食物中的营养物质课件-2024-2025学年七年级生物下学期人教版202.pptx
- 新技术、新工艺、新材料及新理念在市政工程中的应用.ppt VIP
- 《四川麻将竞赛规则》(TTFMJ 01-2024).pdf VIP
- 大学语文 课件全套 吕澜希 第1--7章 先秦文学---外国文学.pptx
- 盈建科教学知识培训课件.pptx VIP
- 常微分方程(第四版)课件 王高雄 高等教育出版社 第二章 一阶微分方程的初等解法(一).pptx VIP
- 现代产品设计与开发第7章 CMF设计的材料与工艺.pptx VIP
- 【教案】八年级 第16课 模块功能先划分.docx VIP
- 离散数学(微课版)(第2版).pptx
原创力文档

文档评论(0)