Pattern Matching and Membership for Hierarchical Message Sequence Charts

Several formalisms and tools for software development use hierarchy for system design, for instance statecharts and diagrams in UML. Message sequence charts are an ITU standardized notation for asynchronously communicating processes. The standard Z.120 allows (high-level) MSC-references that correspond to the use of macros. We consider in this paper two basic verification tasks for hierarchical MSCs (nested high-level MSCs, nHMSC), the membership and the pattern matching problem. We show that the membership problem for nHMSCs is PSPACE-complete, even using a weaker semantics for nMSCs than the partial-order semantics. For pattern matching nMSCs M, N we exhibit a polynomial algorithm of time O(|M|2 ? |N|2. We use here techniques stemming from algorithms on compressed texts.

[1]  H. Wilf,et al.  Uniqueness theorems for periodic functions , 1965 .

[2]  Rajeev Alur,et al.  An Analyzer for Message Sequence Charts , 1996, Softw. Concepts Tools.

[3]  David Harel,et al.  Statecharts: A Visual Formalism for Complex Systems , 1987, Sci. Comput. Program..

[4]  Kousha Etessami,et al.  Realizability and Veriication of Msc Graphs , 2001 .

[5]  Kenneth Zeger,et al.  Efficient Solution to Some Problems in Free Partially Commutative Monoids , 1990, Inf. Comput..

[6]  P. Madhusudan,et al.  Reasoning about Sequential and Branching Behaviours of Message Sequence Graphs , 2001, ICALP.

[7]  Markus Lohrey Safe Realizability of High-Level Message Sequence Charts , 2002, CONCUR.

[8]  Sampath Kannan,et al.  Communicating Hierarchical State Machines , 1999, ICALP.

[9]  Anca Muscholl,et al.  Deciding Properties of Message Sequence Charts , 2003, Scenarios: Models, Transformations and Tools.

[10]  Ayumi Shinohara,et al.  An Improved Pattern Matching Algorithm for Strings in Terms of Straight-Line Programs , 1997, CPM.

[11]  Wojciech Plandowski,et al.  Testing Equivalence of Morphisms on Context-Free Languages , 1994, ESA.

[12]  Doron A. Peled,et al.  Specification and Verification of Message Sequence Charts , 2000, FORTE.

[13]  Anca Muscholl,et al.  Deciding Properties for Message Sequence Charts , 1998, FoSSaCS.

[14]  Rajeev Alur,et al.  Model checking of hierarchical state machines , 1998, TOPL.

[15]  Anca Muscholl,et al.  Message Sequence Graphs and Decision Problems on Mazurkiewicz Traces , 1999, MFCS.

[16]  Madhavan Mukund,et al.  Synthesizing Distributed Finite-State Systems from MSCs , 2000, CONCUR.

[17]  Rajeev Alur,et al.  An Analyser for Mesage Sequence Charts , 1996, TACAS.

[18]  Wojciech Rytter Algorithms on Compressed Strings and Arrays , 1999, SOFSEM.

[19]  Thomas J. Schaefer,et al.  The complexity of satisfiability problems , 1978, STOC.

[20]  Rajeev Alur,et al.  Model Checking of Message Sequence Charts , 1999, CONCUR.

[21]  Anca Muscholl,et al.  Compositional message sequence charts , 2001, International Journal on Software Tools for Technology Transfer.

[22]  David Harel,et al.  On the Complexity of Verifying Concurrent Transition Systems , 1997, Inf. Comput..