文件名称:05
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:754byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设A和B是两个字符串,要用最少的字符操作将A转换成B.允许的操作包括:1)删除一个字符 2)插入一个字符 3)将一个字符替换为另一个字符.将A转换成B所用的最少的字符操作数称为编辑距离。
设计算法,对任给的字符串A,B,计算他们的编辑距离。
输入:第一行字符串A;第二行字符串B
输出:第一行编辑距离-For A and B are two strings of characters to use at least A conversion operation will be allowed to operate as B., including: 1) delete a character 2) insert a character 3) the replacement of one character to another character. A into B will be used in operation for at least a few of the characters known as the edit distance. Design algorithm, for any string to the A, B, computing their edit distance. Input: the first line of string A the second line of the output string B: the first line of edit distance
设计算法,对任给的字符串A,B,计算他们的编辑距离。
输入:第一行字符串A;第二行字符串B
输出:第一行编辑距离-For A and B are two strings of characters to use at least A conversion operation will be allowed to operate as B., including: 1) delete a character 2) insert a character 3) the replacement of one character to another character. A into B will be used in operation for at least a few of the characters known as the edit distance. Design algorithm, for any string to the A, B, computing their edit distance. Input: the first line of string A the second line of the output string B: the first line of edit distance
(系统自动生成,下载前可以参看下载内容)
下载文件列表
编辑距离问题.cpp
编辑距离.txt
编辑距离.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.