-
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符...
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符改为另一个字符
将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。
-Set A and B are two strings. Operation will use the least character string A is converted to a string B. Operation of characters are talking about here include: 1. Delete a character 2. Insert a character 3. Will be replaced by one character to another character will be transformed into a string A string of at least B operand used by A to B is called the edit distance is extremely d (A, B). Design an algorithm to calculate any two of the string edit distance.
- 2022-01-26 03:32:59下载
- 积分:1
-
用随机数矩阵
应用背景#包括
- 2023-06-29 19:35:04下载
- 积分:1
-
这个程序我用了两个月编写,功能已经和完整了,真是个好东西!好用着呢...
这个程序我用了两个月编写,功能已经和完整了,真是个好东西!好用着呢-this process I have spent two months of preparation, functions and integrity, is a good thing! Handy ability in
- 2022-12-20 12:35:03下载
- 积分:1
-
Python 利用arcgis 内核进行批量影像镶嵌
在Python下基于Arcgisn内核完成了影像拼接的功能,根据图像的地理位置进行拼接,对于重叠去的处理,就是后面处理的图像会覆盖前面处理的图像,计算所有的输入文件的空间范围的并集,然后根据图像的分辨率,计算结果图像的大小投影等信息,这个函数里面其实可以直接进行投影转换,等一系列的坐标转换处理,程序可以运行。
- 2022-05-17 03:08:46下载
- 积分:1
-
ICA算法
ICA算法模块,用于盲信号分离,声音分离,雷达信号处理等信号处理
- 2022-12-14 12:00:03下载
- 积分:1
-
卷积码编译码函数,c语言实现,生成多项式可配置,咬尾非咬尾可配置
实现了卷积码的编译码,针对运算速度和存储进行了优化,已应用于实际的DSP芯片中。编译码器都基于参数化实现,可对卷积码的约束长度、生成多项式、是否进行咬尾操作等进行配置。译码采用Viterbi算法,回溯长度可配置。代码有详细的注释,方便维护。
- 2022-02-04 15:09:29下载
- 积分:1
-
数值分析中最常用的14个程序:
01_N皇后问题
01_循环赛程表
02_分段线性插值
02_牛顿插值法
03_构造正交多项式
0...
数值分析中最常用的14个程序:
01_N皇后问题
01_循环赛程表
02_分段线性插值
02_牛顿插值法
03_构造正交多项式
03_最佳一致逼近多项式
04_简单迭代法求方程根[1+1;x]
04_简单迭代法求方程根[sqrt(x+1)]
05_复化梯形公式求积
06_尤拉公式解初值问题
08_高斯消去法解方程组
09_连分式法求积
10_迭代法解线性方程组
10_雅可比方法-Numerical analysis of the 14 most commonly used procedures: 01_N Queen s problem 01_ cycle calendar 02_ piecewise linear interpolation 02_ Newton interpolation 03_ structure orthogonal polynomials 03_ best uniform approximation polynomial 04 _ a simple iterative method for root equation [1+ 1 x] 04_ simple iteration equation for the root [sqrt (x+ 1)] 05_ complex formula of trapezoid quadrature formula 06_ yula 08 initial value problem solutions _ Gaussian elimination solution equations 09_ continued fractions method 10_ quadrature iteration solution of linear equations Jacobian 10_ Ways
- 2023-07-27 02:25:02下载
- 积分:1
-
207.142.131.235 France for the largest matrix eigenvalue shape function paramete...
乘幂法求矩阵最大特征值函数形参分别为所求矩阵及矩阵的行列数-207.142.131.235 France for the largest matrix eigenvalue shape function parameters for the request matrix and the ranks of several matrix
- 2022-11-20 03:40:03下载
- 积分:1
-
这是一个师兄编的程序,用于多类分类和函数回归。
这是一个师兄编的程序,用于多类分类和函数回归。-This is a senior allocation procedures, for use in multi-category classification and regression function.
- 2022-04-08 16:32:52下载
- 积分:1
-
计算任意整数的节乘的精确数值,计算速度比较快
计算任意整数的节乘的精确数值,计算速度比较快-Arbitrary integer section calculated by the exact numerical calculation of the faster
- 2022-03-02 18:57:49下载
- 积分:1