Abstract
Message Sequence Charts (MSCs) and High-level Message Sequence Charts (HMSCs) are formalisms used to describe scenarios of message passing protocols. We propose using Allen's logic to represent the temporal order of the messages. We introduce the concept of discord to quantify the discrepancies between the intuition and the semantics of the ordering between messages in different nodes of an HMSC. We study the algorithmic properties of this concept: we show that while the discord of a pair of messages is hard to compute in general, the problem becomes polynomial-time computable if the number of nodes of the HMSC or the number of processes is constant. Moreover, for a given HMSC, it is always computationally easy to identify a pair of messages that exhibits the worst-case discord and compute the discord of this pair.
Original language | English (US) |
---|---|
Pages (from-to) | 211-233 |
Number of pages | 23 |
Journal | International Journal of Foundations of Computer Science |
Volume | 21 |
Issue number | 2 |
DOIs | |
State | Published - Apr 2010 |
Externally published | Yes |
Funding
Part of this work was done when the fourth author was visiting Bar Ilan University and the first author was a Lady Davis Fellow at Hebrew University of Jerusalem. This research is partially supported by the ESF project Automatha, the ANR project DOTS, and an NRF Research Fellowship.
Keywords
- Discord
- Message sequence charts
- Order discrepancies
ASJC Scopus subject areas
- Computer Science (miscellaneous)