您现在的位置是:虫虫源码 > Python >
A simple Python script to convert NFA-λ to DFA (stored in DOT files) via powerset construction.
A simple Python script to convert NFA-λ to DFA (stored in DOT files) via powerset construction.
资源大小:4.49 kB
上传时间:2021-06-29
下载次数:0次
浏览次数:1次
资源积分:1积分
标 签:
资 源 简 介
Powerset construction is the process of converting an NFA-λ to a DFA. Although existing software such as JFLAP and FAT perform this conversion, they use their own language for defining automata and require interaction. This script is automatic and works on DOT (graphviz) files.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.011052s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.149427s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001682s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001398s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001045s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003151s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000989s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004633s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.018449s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001258s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 39112 [ RunTime:0.058550s ]