登录
首页 » Visual C++ » KMP-string-match

KMP-string-match

于 2013-12-08 发布 文件大小:10KB
0 312
下载积分: 1 下载次数: 4

代码说明:

  编写一个使用KMP算法的字符串匹配程序。 使用方法:字符串匹配.exe -f xxx.txt -s xxx -f 指定要查找的文件 -s 指定要查找的字符串(Writing a string matching algorithm using KMP program. How to use: string matching exe-f xxx.txt-s xxx-f to specify the file you want to find-s to specify the search string)

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

发表评论

0 个回复

  • sor超松弛迭代法
    一个实现sor超松弛迭代法的c语言算法,可以帮助新手完成矩阵计算(A C language algorithm for realizing over relaxation iterative method)
    2017-06-30 09:34:56下载
    积分:1
  • Dchaos-predica
    基于混沌理论进行数据预测的程序,欢欢迎需要的朋友参考下载,并提出修改意见 (, Please feel welcome the reference to a friend download data to predict the process based on chaos theory, and suggest modifications)
    2012-07-27 12:40:49下载
    积分:1
  • 模拟波动方程的有限元程序 FEM
    模拟波动方程的有限元程序,计算波场快照,有程序说明!(Simulation of the wave equation, the finite element program, calculate the wave field snapshot, procedural instructions)
    2020-06-30 00:20:02下载
    积分:1
  • Euler_DG_Quadrilateral_2D
    自己写了一个二维Euler方程的间断有限元程序 上次发了一个三角形单元的程序 因为不是曲边单元 所以在圆柱后面容易形成涡 现在把程序改为曲边四边形单元了 没有涡出现 单元是8节点四边形单元 节点编号顺序是 1 5 2 6 3 7 4 8 也就是四个角点依次 是1 2 3 4 然后是边的中点编号 5 6 7 8. 时间推进采用 Runge-Kutta 方法 数值通量采用全局Lax-Friedrichs通量 仍然不能捕捉激波 因为没有做重构或者加人工粘性 等这个做出来了 再发一次。 程序没有进行优化 比如说内存的消耗没有优化 比如直边单元的边界积分仍然采 用了曲边的积分方法 增加了计算量 比如面积分、线积分都是采用的是Gauss- Legendre-Lobatto积分 积分精度会比一般的Gauss-Legendre积分精度低一阶 等 等问题。 二维的 纯属交流性质 就没有考虑这些问题 ^_^ 如果物面全部是直边 那么只要改变一个参数N 就可以获得不同的计算精度 且具 有谱精度 因为单元的节点是Gauss-Legendre-Lobatto积分点。 其实就是谱元法 (物面是曲边的情况我不清楚是不是也可以通过提高基函数的阶数 也就是增加N 来提高计算精度)(Wrote a two-dimensional Euler equations with discontinuous finite element program Last made ​ ​ a triangular element of the program, not curved edge unit is so easy to form a vortex in the cylinder behind the Program to curved edge quadrilateral element vortices appear Unit is the order of 8-node quadrilateral element node number is 15,263,748 which is the four corners of the points in turn Is 1234 and then the side of the midpoint of the number 5678. Time promote the use of Runge-Kutta method Numerical flux of the overall situation of Lax-Friedrichs, flux Still can not capture the shock wave did not do the reconstruction or artificial viscosity do it Zaifayici. The program is not optimized for example, memory consumption is not optimized such as straight-edge boundary integral of the unit is still mining Integral method to increase the amount of computation such as surface integral with a curved edge, the line integral using the Gauss- The Legendr)
    2021-01-29 12:58:40下载
    积分:1
  • 1parallel
    用于FLUENT计算结构单自由度涡激振动,采用四阶龙哥库塔法,并设置了并行计算(FLUENT, VIV, Fourth order Runge-Kutta )
    2016-09-30 18:49:07下载
    积分:1
  • daoxianzhaoxing-ansys
    这是一段导线找形的命令流,可用于ansys有限元分析(This is a piece of wire to find the form of order flow, can be used for finite element analysis ansys)
    2021-04-20 16:38:50下载
    积分:1
  • Gauss-Seidel
    说明:  经过优化的C代码实现的Gauss-Seidel 迭代算法(Optimized C code of the Gauss-Seidel iterative algorithm)
    2011-03-25 23:43:11下载
    积分:1
  • zuixiaofei-zuidaliu
    文件中包括了最优化中的最小费最大流程序以及例子和程序(File included in the most optimal maximum flow procedures and examples of trees and procedures)
    2014-07-17 09:54:20下载
    积分:1
  • sijielonggekutafa
    四阶龙格库塔法 数值计算 C++源码 可直接运行(Fourth-order Runge-Kutta numerical method C++ source code can be run directly)
    2015-10-28 19:59:24下载
    积分:1
  • RollingForceCal
    计算热轧中的单机架的轧制压力,采用的是SIMS公式,(rolling force calculation)
    2010-06-13 18:35:53下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载