-
二进制搜索 java 代码
导入 java.util.* ;类 BinarySearch{int [] ;无效的 get){扫描仪 sc = 新的 Scanner(System.in) ;System.out.println ("输入 no。元素") ;= 新 int[sc.nextInt()] ;System.out.println ("输入元素") ;为 (int 我 = 0 ; 我 < a.length;i++)a[i]=sc.nextInt() ;}int binarySearch (int n){int 低 = 0 ;int high=a.length-1 ;虽然 (低 < = 高){int 中期 =(low+high)/2 ;if(a[mid]==n)返回 (中期) ;if(n = 1 & & a [j-1] > t; j — —)[j] = [j-1] ;[j] = t ;}}空 display(){System.out.println ("给定的列表是") ;为 (int 我 = 0 ; 我 < a.length;i++)System.out.print ([i] +"") ;System.out.println() ;
- 2023-01-30 23:10:03下载
- 积分:1
-
最短路径算法源码(VB)
最短路径算法源码(VB)-shortest path algorithm source code (VB)
- 2022-03-02 09:37:39下载
- 积分:1
-
一个用于蛋白质序列分类的profile hmm的Perl代码
一个用于蛋白质序列分类的profile hmm的Perl代码-One for protein sequence classification of the Perl code profile hmm
- 2022-10-26 00:10:03下载
- 积分:1
-
数值分析中的简单迭代法求方程根问题(迭代公式为[1+1;x]),程序中含方程输入和根显示界面。...
数值分析中的简单迭代法求方程根问题(迭代公式为[1+1;x]),程序中含方程输入和根显示界面。-Numerical analysis of a simple iterative method for equation of the root problems (iterative formula [1+ 1 x]), process input and root equation containing display.
- 2022-10-24 09:25:04下载
- 积分:1
-
基于BP神经网络的室内定位技术研究.
资源描述针对基于 GSM 网络的移动电话定位,Wu Zhi-li 等
[127]
提出了一种使用统计学
习理论的定位算法,不需要特殊的网络配置,仅需要信号强度信息,并且与传统
的使用信号强度的方法有着本质的区别。传统的基于信号强度的定位方法是通过
大量的测定,构建一个具体的信号传输模型。在获取移动终端到各基站的具有噪
音的信号强度后,使用这一模型推导终端的位置
- 2022-03-29 07:56:28下载
- 积分:1
-
求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)
求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)-For solving nonlinear equations. Call the format x = fmincon (fun, x0, A, b, Aeq, beq, VLB, VUB)
- 2022-05-18 12:48:14下载
- 积分:1
-
步态识别源码
详细说明:2DPCA用于人脸、步态等图像识别,可先按照行列比例将不规整图像归一化处理,然后进行训练,并且识别,全部中文注释和提示,便于学习和参考。-2DPCA humanface, gait, such as image recognition, in accordance with the ranks of theratio can not structured to deal with the normalized image, and then training,and recognition, all Chinese notes and tips for learning and reference.
- 2023-02-23 20:00:04下载
- 积分:1
-
3d cylinder vortex meshing
3d cylinder vortex meshing
- 2022-02-12 07:27:22下载
- 积分:1
-
先序遍历的非递归算法
先序遍历的非递归算法-preorder non- recursive algorithm
- 2023-07-17 08:50:03下载
- 积分:1
-
课程教学管理的系统
实现一个对学生课程教学管理的系统,可以对学生的个人信息进行维护,还有学生的选课,课程分数,等
- 2022-03-02 21:10:49下载
- 积分:1