GONG Yang-yang, LIU Qin-rang, SHAO Xiang-yu, et al. A Regular Expression Matching Algorithm Based on Multi-Dimensional Cube[J]. Acta Electronica Sinica, 2014, 42(9): 1818-1822.
GONG Yang-yang, LIU Qin-rang, SHAO Xiang-yu, et al. A Regular Expression Matching Algorithm Based on Multi-Dimensional Cube[J]. Acta Electronica Sinica, 2014, 42(9): 1818-1822. DOI: 10.3969/j.issn.0372-2112.2014.09.024.
A deterministic finite automaton(DFA)structure based on multi-dimensional cube is proposed aiming at the state explosion problem generated by the interaction among regular expression rules containing .* under certain conditions.It divides and compresses redundant states by dimension.Then the algorithm M-D-Cube-DFA is proposed.It achieves equivalent state transition by constructing dynamic intersections.Theory and simulation results show that
compared with the conventional DFA algorithm
M-D-Cube-DFA achieves a logarithm-level compression of the number of states and the storage space without changing the time complexity.