Instead of finding the longest common subsequence, let us try to determine the length of the LCS. Then tracking back to find the LCS. Consider a1a2…am and b1b2…bn. Case 1: am=bn. The LCS must contain am, we have to find the LCS of a1a2…am-1 and b1b2…bn-1. Case 2: am≠bn. Wehave to find the LCS of a1a2…am-1 and b1b2…bn, and a1a2…am and b b b b1b2…bn-1 Let A = a1 a2 … am and B = b1 b2 … bn Let Li j denote the length of the longest i,g g common subsequence of a1 a2 … ai and b1 b2 … bj. Li,j = Li-1,j-1 + 1 if ai=bj max{ L L } a≠b i-1,j, i,j-1 if ai≠j L0,0 = L0,j = Li,0 = 0 for 1≤i≤m, 1≤j≤n.
标签: the subsequence determine Instead
上传时间: 2013-12-17
上传用户:evil
PLATFORM BUILDER FOR WINDOWS MOBILE 5.0、6.1,AKU FOR WM6.1 ,aku for windows mobile 6.1,aku 6.1 for windows mobile,开发平台,编译系统,带BSP包,有s3c2440,s3c2442,sc32442,s3c2416,s3c2450,s3c2451,s3c6400,s3c6410,pxa300,pxa310,pxa320,pxa312的WM BSP包,PDF文档,altas A4,Atlas3,AT643,ATLAS3,AT642,arm11的相关资料,并是WINDOWS MOBILE pb,适用于GPS,智能手机等相关领域,希望对你有帮肋的!
上传时间: 2017-02-24
上传用户:busterman
4位电子智能密码锁,基于VHDL语言设计,MAX+PLUSⅡ环境下实现
上传时间: 2013-11-30
上传用户:athjac
Verilog HDL的程式,上網找到SPI程式, vspi.v這程式相當好用可用來接收與傳送SPI,並且寫了一個傳輸信號測試,spidatasent.v這程式就是傳送的資料,分別為00 66... 01 77...... 02 55這樣的資料,並透過MAX+PULS II軟體進行模擬,而最外層的程式是test_createspi.v!
上传时间: 2017-03-06
上传用户:onewq
Verilog是广泛应用的硬件描述语言,可以用在硬件设计流程的建模、综合和模拟等多个阶段。随着硬件设计规模的不断扩大,应用硬件描述语言进行描述的CPLD结构,成为设计专用集成电路和其他集成电路的主流。通过应用Verilog HDL对多功能电子钟的设计,达到对Verilog HDL的理解,同时对CPLD器件进行简要了解。 本文的研究内容包括: 对Altera公司Flex 10K系列的EPF10K 10简要介绍,Altera公司软件Max+plusⅡ简要介绍和应用Verilog HDL对多功能电子钟进行设计。
上传时间: 2017-03-06
上传用户:epson850
This is an example application that shows how to connect connect two iPhone devices using Bonjour wirelessly to transmit information.
标签: connect application Bonjour example
上传时间: 2017-03-07
上传用户:fandeshun
8位全加器的VHDL描述,可用MAX+plusⅡ运行测试
上传时间: 2014-01-16
上传用户:erkuizhang
在0 / 1背包问题中,需对容量为c 的背包进行装载。从n 个物品中选取装入背包的物品,每件物品i 的重量为wi ,价值为pi 。对于可行的背包装载,背包中物品的总重量不能超过背包的容量,最佳装载是指所装入的物品价值最高,即n ?i=1pi xi 取得最大值。约束条件为n ?i =1wi xi≤c 和xi?[ 0 , 1 ] [ 1≤i≤n]。
标签: 背包问题
上传时间: 2017-03-28
上传用户:6546544
SSD1289 240 RGB x 320 TFT LCD Controller Driver integrated Power Circuit, Gate and Source Driver with built-in RAM technical data
标签: Driver Controller integrated Circuit
上传时间: 2017-04-16
上传用户:onewq
The GIFT (the GNU Image-Finding Tool) is a Content Based Image Retrieval System (CBIRS: http://en.wikipedia.org/wiki/CBIR). It enables you to do Query By Example (QBE: http://en.wikipedia.org/wiki/QBE) on images, giving you the opportunity to improve query results by relevance feedback. For processing your queries the program relies entirely on the content of the images, freeing you from the need to annotate all images before querying the collection.
标签: Image-Finding Retrieval Content System
上传时间: 2014-01-11
上传用户:咔乐坞