TY - GEN
T1 - Testing extended regular language membership incrementally by rewriting
AU - Roşu, Grigore
AU - Viswanathan, Mahesh
PY - 2003
Y1 - 2003
N2 - In this paper we present lower bounds and rewriting algorithms for testing membership of a word in a regular language described by an extended regular expression. Motivated by intuitions from monitoring and testing, where the words to be tested (execution traces) are typically much longer than the size of the regular expressions (patterns or requirements), and by the fact that in many applications the traces are only available incrementally, on an event by event basis, our algorithms are based on an event-consumption idea: a just arrived event is “consumed” by the regular expression, i.e., the regular expression modifies itself into another expression discarding the event. We present an exponential space lower bound for monitoring extended regular expressions and argue that the presented rewriting-based algorithms, besides their simplicity and elegance, are practical and almost as good as one can hope. We experimented with and evaluated our algorithms in Maude.
AB - In this paper we present lower bounds and rewriting algorithms for testing membership of a word in a regular language described by an extended regular expression. Motivated by intuitions from monitoring and testing, where the words to be tested (execution traces) are typically much longer than the size of the regular expressions (patterns or requirements), and by the fact that in many applications the traces are only available incrementally, on an event by event basis, our algorithms are based on an event-consumption idea: a just arrived event is “consumed” by the regular expression, i.e., the regular expression modifies itself into another expression discarding the event. We present an exponential space lower bound for monitoring extended regular expressions and argue that the presented rewriting-based algorithms, besides their simplicity and elegance, are practical and almost as good as one can hope. We experimented with and evaluated our algorithms in Maude.
UR - http://www.scopus.com/inward/record.url?scp=84947771910&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84947771910&partnerID=8YFLogxK
U2 - 10.1007/3-540-44881-0_35
DO - 10.1007/3-540-44881-0_35
M3 - Conference contribution
AN - SCOPUS:84947771910
SN - 3540402543
SN - 9783540402541
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 499
EP - 514
BT - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
A2 - Nieuwenhuis, Robert
PB - Springer
T2 - 14th International Conference on Rewriting Techniques and Applications, RTA 2003
Y2 - 9 June 2003 through 11 June 2003
ER -