我编写处理这些非正式解析任务的程序的方法总是有点象大杂烩,其中包括定制状态机、正则表达式以及上下文驱动的字符串测试。
The way I have programmed these informal parsing tasks has always been somewhat of a hodgepodge of custom state-machines, regular expressions, and context-driven string tests.
我的一个利用有限状态机的正则表达式的实现。
I use a finite state machine in the regular expression is achieved.
引入对偶变量,进一步建立使问题化为在以混合变量组成的全状态辛空间中的控制正则方程和初边条件。
By introducing dual variables, the dual governing equations and boundary conditions, which are composed by mixed variables under whole state space, are obtained.
应用推荐