-
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线...
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线-A curve of the control is of immeasurable value, as long as guide in the database can be generated fitting curves of a beautiful
- 2022-02-03 14:49:55下载
- 积分:1
-
八皇后问题的解法,非常好,请大家看一下,谢谢了
八皇后问题的解法,非常好,请大家看一下,谢谢了-8 Queen" s problem solution, very good, please look at, I would like to thank the
- 2022-01-28 01:59:41下载
- 积分:1
-
菜单 com teclado matricial 3 x 4 e pic
埃斯特角 projeto mostra 科摩 usar um teclado matricial 3 x 4 com pic 没有 ccs,criação de ilustra um 菜单 de opções usando (开关箱) 段控制 de motores de 帕苏、 com 帕苏 completo、 微帕苏等
- 2022-02-25 00:24:41下载
- 积分:1
-
josephus算法 n个人围成一圈报数,报到人出去,相信很多人都知道这个经典题目。解法有数组法等等。 其实,这就是josehpus问题,这里演示josephu...
josephus算法 n个人围成一圈报数,报到人出去,相信很多人都知道这个经典题目。解法有数组法等等。 其实,这就是josehpus问题,这里演示josephus算法-Josephus n algorithm was used to encircle a few individuals, who report back out, I believe many people know this classic title. Solutions are arrays among others. In fact, this is josehpus, Josephus demonstration here Algorithm
- 2023-08-26 21:05:03下载
- 积分:1
-
这是一个简单的演示如何评价文本的数学表达式
This a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functions. The code consists of
three simple classes: 1) Calc - which does the main calculations, 2) Stack -
which is used to push and pop intermediate operators and numbers and 3)
Symbol Table. The symbol table is a collection of calc symbols, a type structure
consisting of various elements, including the expression name, function name,
and the final value of the expression The evaluation procedure is done in three
steps: 1) simplify the expression by removing all the elements within () and
storing them in subexpressions within the symbol table. 2) Each of these sub
expressions are then converted to RPN format (Reverse polar notation) and
evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functi
- 2022-02-20 06:26:41下载
- 积分:1
-
组合数学全序列生成
组合数学全序列生成的Java实现,共实现了五种算法,有图形界面,需要安装substance库
- 2022-03-06 21:25:32下载
- 积分:1
-
ABAP 选择屏
代码诠释了选择屏幕几种重要控件的用法
SELECTION-SCREEN BEGIN OF BLOCK 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-19 18:09:54下载
- 积分:1
-
Kriging算法
基于oeo4b的Kriging插值算法/克里格.js工作。插值一组X,Y,Z坐标。
- 2022-01-23 11:00:26下载
- 积分:1
-
在powerbuilder 7.0中实现md5的算法,下载后直接导入到pbl库文件中,即可使用。...
在powerbuilder 7.0中实现md5的算法,下载后直接导入到pbl库文件中,即可使用。-in powerbuilder 7.0 achieving md5 algorithm downloaded directly into the pbl the document can be used.
- 2022-08-26 09:14:52下载
- 积分:1
-
一个用MASM写的正则表达式引擎
此正则表达式引擎属于正统的NFA引擎,基本兼容Perl,简单说一下引擎是怎么实现的:
首先做一个递归下降语法分析,利用栈把正则表达式转换成NFA(以有向图的形式表现),再遍历NFA判断是否能到达完成节点。
实现正则表达式匹配的各种复杂功能的力量来自于回溯,而回溯的基础是栈,回溯能力是通过栈来达成的。
栈中保存了匹配路径中所有的状态,状态回溯就是出栈,状态匹配就是入栈。
除了回溯,一些扩展功能的实现也是通过栈来完成的,比如捕获和零宽断言,都要通过搜索或操纵栈来完成。
转换成NFA再匹配的好处是简化匹配和利于优化和DEBUG:因为不管再复杂的表达式转换成NFA之后只有边和节点组成,边和节点也只有顺序、分支、循环这三种形式组成。
详细原理说明看下面关于实现引擎的文章,第3条是我理解引擎匹配原理的入门参考。
支持GBK和UTF8编码
==参考和学习资料==
关于实现引擎的文章:
1、《Perl语言编程》第五章 书
2、《精通正则表达式》 书
3、构造正则表达式引擎 http://www.cppblog.com/vczh/archive/2008/05/22/50763.html 我的原理学习入门参考
4、NFA引擎匹配原理 http://blog.csdn.net/lxcnn/article/details/4304651
5、英文参考资料 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-27 18:36:44下载
- 积分:1