-
二分搜索CPP算法代码
二分查找又称折半查找,优点是比较次数少,查找速度快,平均性能好;其缺点是要求待查表为有序表,且插入删除困难。因此,折半查找方法适用于不经常变动而查找频繁的有序列表。首先,假设表中元素是按升序排列,将表中间位置记录的关键字与查找关键字比较,如果两者相等,则查找成功;否则利用中间位置记录将表分成前、后两个子表,如果中间位置记录的关键字大于查找关键字,则进一步查找前一子表,否则进一步查找后一子表。重复以上过程,直到找到满足条件的记录,使查找成功,或直到子表不存在为止,此时查找不成功。
- 2022-03-20 05:11:34下载
- 积分:1
-
该代码是“常用的计算机数值算法和程序的程序。
本代码是《计算机常用数值计算算法与程序 C++版》一书的配套复数运算代码,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过-the code is "commonly used computer numerical algorithms and procedures C version," a book supporting complex computing code, each source document file extensions are used. Cpp form. These procedures have been in C Microsoft Windows platform under the Virsual C 6.0 environment through
- 2022-07-03 09:02:27下载
- 积分:1
-
高斯消去解方程组c
高斯消去解方程组c-Gaussian Elimination Solution equation c
- 2022-10-19 01:30:06下载
- 积分:1
-
用BP网络完成函数的逼近源程序
用BP网络完成函数的逼近源程序- Completes the function with the BP network to approach the
source program
- 2022-08-15 13:12:48下载
- 积分:1
-
用牛顿法解非线性方程组(包括论文及源程序)
用牛顿法解非线性方程组(包括论文及源程序)-with Newton method for solving systems of nonlinear equations (including papers and source)
- 2022-06-20 22:43:06下载
- 积分:1
-
The Kalman filter30 is a minimum
The Kalman filter30 is a minimum-variance filter in which time-series measurements are incorporated recursively into estimates of state variables it is the optimal, Bayesian least-squares estimator for linear dynamic systems.-text
- 2022-03-17 08:20:02下载
- 积分:1
-
自己编写的集合覆盖问题的贪心近似算法,请指教
自己编写的集合覆盖问题的贪心近似算法,请指教-I have written a collection of coverage of the greedy approximation algorithm for the problem, please advice
- 2023-03-08 15:20:02下载
- 积分:1
-
Delphi 写的常用的基本算法 源代码
Delphi 写的常用的基本算法 源代码 -Written in Delphi source code for the basic algorithm used
- 2022-03-19 02:14:16下载
- 积分:1
-
农夫过河问题的广度优先搜索算法的PASCAL程序
农夫过河问题的广度优先搜索算法的PASCAL程序-farmer across the river in breadth- first search algorithm procedures PASCAL
- 2022-04-27 04:15:46下载
- 积分:1
-
贝叶斯算法改进-Python
资源描述针对传统的贝叶斯算法做了相应的改进,使得效率提升了一些。里面的原始代码来自于《learning in action》这本书,这里针对源代码做了新的改进,从而提升准确率。
- 2022-10-26 06:05:03下载
- 积分:1