Regular Expression Grouping Algorithm Based on Ant Colony Optimization

Cai Liangwei,Liu Siqi,Li Xia,Li Jun
DOI: https://doi.org/10.3724/sp.j.1249.2014.03279
2014-01-01
Abstract:Following the idea of the Becchi algorithm, an improved regular expressions grouping algorithm based on ant colony optimization ( GRE-ACO) was introduced. Taking account of the characteristics of regular expressions grouping, GRE-ACO defined the relationship between positive and negative effects of conflict information, a new heuristic function and pheromone update strategy. Comparison with the Becchi algorithm shows that GRE-ACO can reflect the optimizing merge information of the regular expressions more reasonably, reduce the amount of states effec-tively,and attain the optimal solution of the total number of state. As a result, the GRE-ACO can reduce the com-plexity of matching algorithm.
What problem does this paper attempt to address?