-
设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
-
二维稳态导热问题。设材料物性均为常数,均质无内热源。已知它的左边界是温度为T2的等温边界,其他三个边界均为温度为T1的等温边界。导热区域为边长L的正方形。...
二维稳态导热问题。设材料物性均为常数,均质无内热源。已知它的左边界是温度为T2的等温边界,其他三个边界均为温度为T1的等温边界。导热区域为边长L的正方形。-two-dimensional steady-state heat conduction problems. Based material properties are constant, no heterogeneity within the heat source. It is known to have a threefold T2 is the temperature of the isothermal boundary, the other three border are temperature T1 isothermal boundary. Regional conduction length L of the square.
- 2023-05-18 01:30:03下载
- 积分:1
-
强大的三角剖分函数库(含调用代码)
//强大的三角剖函数库
//不仅能满足一般Delaunay三角剖分(DT)、约束Delaunay三角剖分(CDT)还能输入
//最小角度或最大面积条件加密三角形(CCDT),并能处理边界内的洞
//本版本对原程序进行了少量修改,经测试可以满足Delaunay TIN、土方计算等开发需要。
//原作者:Jonathan Richard Shewchuk 美国加州大学伯克利分校
//修改人:倪尧 修改日期:2013-7-25 QQ:627957087
- 2023-07-12 05:55:03下载
- 积分:1
-
Data Mining the classical k
数据挖掘经典k-means算法C源码实现-Data Mining the classical k-means algorithm C source code to achieve
- 2022-04-20 17:28:52下载
- 积分:1
-
计算三点的插值函数的fortran90程序,包括源代码,一个算例和输出文件,简单适用。...
计算三点的插值函数的fortran90程序,包括源代码,一个算例和输出文件,简单适用。-Calculating a three-point interpolation function fortran90 procedures, including source code, a numerical example and output files, simple and applicable.
- 2022-02-27 08:32:48下载
- 积分:1
-
right signals Calculus, the digital signal processing friends may often be used....
对信号进行微积分,做数字信号处理的朋友可能常会用到。 这是前几天写的一个简单的微积分函数。请多指正。-right signals Calculus, the digital signal processing friends may often be used. This is written a few days before a simple calculus functions. Please correct.
- 2022-04-11 21:12:21下载
- 积分:1
-
分段算法的程序,很好的。绝对简练
分段算法的程序,很好的。绝对简练-Segmentations procedures very well. Absolutely concise
- 2022-02-20 22:08:48下载
- 积分:1
-
science and engineering numerical algorithm (Visual C version) is a matrix of go...
科学与工程数值算法(Visual C++版)是一本很好的矩阵类图书。里面有好多源代码可以参考。-science and engineering numerical algorithm (Visual C version) is a matrix of good books. There are a lot of source code for reference.
- 2022-11-18 11:20:04下载
- 积分:1
-
图书管理系统
简单的图书管理系统:有界面,能录入图书信息,添加,删除,修改。并且根据不同的关键字进行查询。基于C++编写的MFC程序。
- 2022-06-02 11:00:38下载
- 积分:1
-
积分
不定积分
输入x1,f(x1),x2,f(x2)...输出F(x1),F(x2)...
用二分法和sinx求π.sinx用泰勒展开逼近。-integral
- 2022-10-16 01:20:03下载
- 积分:1