登录
首页 » 算法 » 最长公共子串的Java实现和NPL应用

最长公共子串的Java实现和NPL应用

于 2023-02-27 发布 文件大小:1.54 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

资源描述这是关于动态规划的一个问题,一般称之为最长公共字串问题,但是在这里采用了Java语言来进行实现,可以帮助我们更好的理解动态规划这个经典算法

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 贝塞尔曲线示例
    #include < iostream > #include < 矢量 > #include < math.h > #include"BezierPoint.h" 使用命名空间 std ; BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ; 双选择 (双 a,双 b) ; 双 factorial(double num) ; int main(void) { 方法 < < BezierPoint >> 方法警校 ; char endPointCount = 0; 双 inx ; 双 iny ; int ptCount = 0; int 终结点 ; 双 deltaT ; cin >> ptCount >> deltaT ; 为 (int 我 = 0 ; 我 < ptCount; i + +) { cin >> inx >> iny >> 终结点 ; BezierPoint p iny inx) ; 如果 (endPointCount = = 0 & & 终结点 = = 1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; 继续 ; } pts[pts.size()-1].push_back(p) ; 如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; } } 为 (std::s
    2022-03-13 19:08:01下载
    积分:1
  • 随机游走
    随机游走生成器:此代码模拟了一个随机游走过程请注意,"%" 任何指示的权利它是为人类阅读和 MATLAB 忽略注释。
    2022-03-22 04:07:52下载
    积分:1
  • 差值方
    武汉科技大学计算机数值计算方法全部实验代码,分别是迭代法,拉格朗日迭代法、牛顿迭代法,Romberg法、变步长梯形法,改进的欧拉法、四阶龙格——库塔法,高斯消元法、消去法。原创代码。
    2022-07-16 23:43:34下载
    积分:1
  • 查找是使用计机中CPU最大的一个功能,查找决定了程序的优劣性,此完成了顺序查找的实现。
    查找是使用计算机中CPU最大的一个功能,查找算法决定了程序的优劣性,此算法完成了顺序查找的实现。- The search was uses in the computer a CPU biggest function, the search algorithm had decided the procedure fit and unfit quality, this algorithm has completed the smooth search realization.
    2022-04-24 15:53:52下载
    积分:1
  • 一个很好的VC代码示例.
    一个很好的VC代码示例.-a good VC code examples.
    2022-04-02 09:32:16下载
    积分:1
  • Enigma密码实现的清晰的语言原则…
    密码学中 enigma算法的 c语言实现 原理清晰-Enigma cryptography algorithm implementation of the principles of clear language c
    2022-08-03 13:35:20下载
    积分:1
  • this to find out the shortest path for various nodes
    this to find out the shortest path for various nodes-this is to find out the shortest path for various nodes
    2022-02-03 14:28:49下载
    积分:1
  • 给某个玩家100元的资本,让他不停押注直到输光,计需要赌博多少次? 如果把次数放在数组ruinLength[]中,进行1000次实验后,看看破产的最大次数...
    给某个玩家100元的资本,让他不停押注直到输光,计算需要赌博多少次? 如果把次数放在数组ruinLength[]中,进行1000次实验后,看看破产的最大次数、 最小次数和平均次数分别是多少?-100 to a player" s capital, so that he kept until the bet输光to calculate how many times the need for gambling? If the number on the array ruinLength [] in experiments carried out after 1000 to see the largest number of bankruptcy, the minimum number and the average number of how many were?
    2022-02-01 04:15:03下载
    积分:1
  • 北大ACM试题poj 第3058题源码,很好的代码,希望对搞ACM的同学有帮助...
    北大ACM试题poj 第3058题源码,很好的代码,希望对搞ACM的同学有帮助 -Peking University ACM Chapter 3058 question Question poj source code, good code, and want to help students engage in ACM
    2023-02-13 09:30:03下载
    积分:1
  • 点集凸包( 收缩)Jarris步进
    点集凸包( 收缩法)Jarris步进法-point set convex hull (contraction) Jarris Step Method
    2022-07-04 05:21:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载