登录
首页 » 算法 » 二分搜索,不只只是查找(运用单调性)

二分搜索,不只只是查找(运用单调性)

于 2022-01-27 发布 文件大小:218.49 kB
0 220
下载积分: 2 下载次数: 1

代码说明:

资源描述二分查找不单单是查找,可以运用单调性

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

发表评论

0 个回复

  • 磁性DLA模拟分形生长,用于Ising模型
    磁性DLA模拟分形生长,用于Ising模型-Magnetic DLA fractal growth simulation for the Ising model
    2022-08-23 00:06:21下载
    积分:1
  • 支持向量回归机svr延拓数据解决HHT端点效应问题
    支持向量回归机延拓数据解决HHT端点效应问题,向左延拓和向右延拓。通过支持向量回归机(SVR)延拓数据,据解决HHT端点效应问题。输入指令mex -v qp.c pr_loqo.c,导入MATLAB工具包。
    2022-01-28 08:40:54下载
    积分:1
  • 函数名称:CRC
    函数名称:CRC-16 Process 函数原型:INT16U make_crc16(INT8U *msgaddr,INT8U datalen) 函数功能:进行CRC校验和产生CRC代码.这个函数只影响全局变量crc16. 校验字放在字符串最后,低8位在前高8位在后. msgaddr : 进行CRC16校验的据块的首地址 datalen : 进行CRC16校验的据块的个数 CRC-ITU的计算算法如下: a.寄存器组初始化为全"1"(0xFFFF)。 b.寄存器组向右移动一个字节。 c.刚移出的那个字节与数据字节进行异或运算,得出一个指向值表的索引。 d.索引所指的表值与寄存器组做异或运算。 f.数据指针加1,如果数据没有全部处理完,则重复步骤b。 g.寄存器组取反,得到CRC,附加在数据之后(这一步可省略)。
    2023-05-27 07:15:03下载
    积分:1
  • 线性判别的代码以及讲解
    这是一个线性判别算法的matlab 代码,里面有详细讲解的pdf文件,并且程序有具体实例的运行结果,很好理解哦
    2022-02-04 14:34:58下载
    积分:1
  • This is the basis of others I write the algorithm simulation of the car park c p...
    这是我根据别人的算法写的模拟停车场问题的c程序,原有算法有一些指针调用的错误!,现已改正-This is the basis of others I write the algorithm simulation of the car park c procedures, some of the original algorithm called the wrong target! That has now been rectified.
    2022-10-02 02:20:03下载
    积分:1
  • Frechet距离实现
    资源描述Frechet距离广泛用于计算两曲线之间的距离。这个程序提供了在平面上的两条曲线的计算方法。
    2022-03-24 00:51:05下载
    积分:1
  • BubbleSort_EM_C
    Algoritmo de ordenação 单纯 chamado 冒泡排序,ou método bolha。Ordenação um comum e 单纯 de 矢量。É um porém eficiente 段的小家伙 vetores algoritmo ruim。
    2022-09-17 14:55:04下载
    积分:1
  • 蚁群优化的图像边缘检测
    蚁群算法 (ACO) 是一种优化算法,利用蚂蚁物种的自然行为,蚂蚁觅食地上存款信息素。在这蚁群算法被介绍对付的图像边缘检测问题。提出基于蚁群算法的边缘检测方法是能够建立一个信息素矩阵表示提出了一种在图像每个像素位置的边缘信息根据大量的蚂蚁的运动有哪些派去在图像上移动。此外,运动这些蚂蚁是由图像的局部变化驱动强度值。实验结果进行了验证该方法的性能优越。
    2022-08-05 23:14:58下载
    积分:1
  • The cart with an inverted pendulum, shown below, is "bumped" with an impulse f...
    The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below. -The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below.
    2022-03-17 02:37:20下载
    积分:1
  • 摄影测量前方交会源程序
    摄影测量前方交会源程序算法理论过程与前方交会理论一致
    2022-03-14 05:26:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载