登录
首页 » 算法 » 基于堆的优先队列C语言实现

基于堆的优先队列C语言实现

于 2022-03-13 发布 文件大小:2.73 kB
0 101
下载积分: 2 下载次数: 1

代码说明:

优先队列(priority_queue)和一般队列(queue)的函数接口一致,不同的是,优先队列每次出列的是整个队列中最小(或者最大)的元素。 本文简要介绍一种基于数组二叉堆实现的优先队列 详细出处参考:http://www.jb51.net/article/41978.htm

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 高维空间中的广义投影群
    Finding Generalized Projected Clusters in High Dimensional Spaces - ORCLUS - A subspace clustering algorithm.-Finding Generalized Projected Clusters in High Dimensional Spaces- ORCLUS- A subspace clustering algorithm.
    2022-08-16 08:51:23下载
    积分:1
  • 的设计方(C程序):一、迭代 二、穷举搜索三、递推 四、递归五、回溯 六、贪婪...
    算法的设计方法(C程序):一、迭代法 二、穷举搜索法三、递推法 四、递归五、回溯法 六、贪婪法 -algorithm design method (C program) : 1, 2 iteration, the exhaustive search method three, four recursive method, recursive 5, backtracking 6, greedy algorithm
    2022-03-01 08:20:07下载
    积分:1
  • 岩体结构面发相密度
    用于计算岩体结构面的法向密度,前提条件是知道优势结构面的产状,知道测线产状和长度,结构面与测线的交点数。程序用于简单的判断岩体的结构特征,并用于RQD值估算。
    2022-07-23 02:47:25下载
    积分:1
  • 牛顿差商与差分计函数,用C语言实现,设计了多个子函数,代码略长,可供参考...
    牛顿差商与差分计算函数,用C语言实现,设计了多个子函数,代码略长,可供参考-Newton" s difference quotient and the difference calculation functions, using C language implementation, design a number of subroutine, the code slightly longer available for reference
    2022-02-13 05:14:27下载
    积分:1
  • 克鲁斯卡尔
    克鲁斯的算法 is a 贪心算法 in 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-08-18 15:30:03下载
    积分:1
  • book is widely used in engineering at the effective preparation of the algorithm...
    书是针对工程上常用的行之有效的算法而编写的C语言函数程序集,在第一版的基础上作了修改和扩充。书中包括了近几年出现的许多新算法。全书分为数值计算与非数值计算两部分。其中数值计算部分的内容包括:线性代数方程组的求解、矩阵运算、矩阵特征值与特征向量的计算、非线性方程与方程组的求解、插值、数值积分、常微分方程(组)的求解、拟合与逼近、数据处理与回归分析、极值问题、数学变换与滤波、特殊函数、随机数的产生、多项式与连分式函数的计算、复数运算;非数值计算部分的内容包括:排序、查找、图形模式下读写屏幕象点、基本图形操作、汉字操作等。-book is widely used in engineering at the effective preparation of the algorithm and C language function suite, on the basis of the first edition was revised and expanded. The book includes the past few years, many of the new algorithm. Topics are divided into the numerical and non- numerical calculation of two parts. These numerical part of the contents include : linear algebraic equations by solving the matrix computation, Matrix eigenvalues and eigenvectors of computing, nonlinear equations and solve equations, interpolation, numerical integration, ordinary differential equations (Group I) solution, fitting and approximation, data processing and back In analysis, optimization, mathematical transformation and filtering, specia
    2022-07-13 21:31:09下载
    积分:1
  • 一些的C 的实现
    一些算法的C 的实现-Some algorithm realization C
    2022-03-07 18:50:51下载
    积分:1
  • Sonic anemometer tilt correction algorithm
    本文直接应用Wilczak等人[1]提出的算法,从倾斜角度校正声波风速仪记录的风分量。它与双旋转和三旋转算法进行了比较。本提交文件包含:4个示例文件:exampleu PF.m、exampleu rot2.m和exampleu rot3.m以及exampleu frictionVelocity.m-函数tiltCorrection.m;
    2022-07-21 22:14:03下载
    积分:1
  • c线性插值函数
    计算方法c线性插值函数-function using c languange to make an algorithmic method of linear interpolation
    2022-02-26 07:07:12下载
    积分:1
  • (C51)读写FAT32文件的源代码
    使用单片机(C51)读写FAT32文件的源代码,里面详尽描述了FAT32文件的结构及读写方式
    2023-04-18 09:35:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载