Finite labelling problem in event structures - Semantic Scholar

6 downloads 717 Views 734KB Size Report
structures, Theoretical Computer Science 123 (1994) 9-19. In event ... Science B.V. All rights reserved .... contradicts the event structure being of degree 2.
Theoretical Elsevier

Computer

9

Science 123 (1994) 9-19

Finite labelling problem in event structures Marc Roland

Assous

Uniuersit& Claude-Bernard Lyon-I, Brit. 101, 69622 Villeurbanne Cedex, France

Vincent

Bouchittk

LIP-IMAG, CNRS URA 1398. Ecole Normale SupCrieure de Lyon, 46, Avenue d’ltalie. 69364 Lyon Cedex 07. France

Christine LMDI,

Charretton

UniversitP Claude-Bernard Lyon-I, B&. 101, 69622 Villeurbanne Cedex. France

Brigitte

Rozoy

LRI, UniversitP Paris XI, 91405 Orsay Cedex. France

Abstracr Assous, M.R., V. Bouchitte, C. Charretton and B. Rozoy, structures, Theoretical Computer Science 123 (1994) 9-19.

Finite

labelling

problem

in event

In event structures, one of the classical models of parallelism, the concept of nice labelling occurs: this consists in attributing label to each event of the structure, in such a way that two different events may have the same label if either they are in temporal causality or they are not the initial occurrences of incompatible actions. The problem is to minimize the number of labels. In this paper we are concerned with event structures admitting a finite nice labelling. We characterize those admitting a 2-labelling. Then we prove that for finite event structures the optimization of the labelling is an NP-hard problem. Finally, using combinatorial and order-theoretic tools, we investigate some special cases.

Assous, M.R., V. Bouchitti, C. Charretton and B. Rozoy, structures, Theoretical Computer Science 123 (1994) 9-19.

Finite

labelling

problem

in event

Dans les structures d’evenements, un des modtles classiques du parallelisme, intervient la notion d’etiquetage agrtable: celle-ci consiste a attribuer une etiquette a chaque tvbnement de la structure

Correspondence to: M.R. Assous, Universite Claude-Bernard Lyon-I, 69622 Villeurbanne Cedex, France. Email addresses of the vbouchit@,lip.ens-lyon.fr, [email protected], [email protected].

0304-3975/94/$07.00 0 1994-Elsevier SSDI 0304-3975(93)E0036-4

Science B.V. All rights

27 & 43 blv. 11 novembre 1918, authors: assous@frcpnl l.bitnet,

reserved

M.R. Assous

10

de sorte que deux tvknements peuvent porter la m&me ktiquette, dts qu’ils sont dans une relation de causalitt temporelle ou qu’ils ne concernent pas les occurences initiales de deux actions incompatibles dans de diroulement d’un calcul. Le probleme est ici de determiner le nombre minimum d’ttiquettes. Nous nous intkressons plus particulitrement aux structures d’tv&nements admettant un ktiquetage agrkable fini. Nous caractkrisons celles qui admettent un ktiquetage agrkable sur deux lettres. Mais nous dtmontrons qu’en g6nkral dans le cas fini l’optimisation du nombre d’ktiquettes est un probleme NP-difficile. Enfin l’utilisation d’outils soit combinatoires, soit issus de la thtorie de l’ordre permet d’ktudier quelques cas particuliers.

1. Introduction Event structures were introduced by Winskel [S] as a model for distributed systems. The main features of this model are that it is independent of the machines, especially of their architecture and of the global states, and that it provides the frame for a general study, from the point of view of actions, where order theory is one of the main tools. An event structure is a set whose elements are the occurrences of actions, called events; the causality as a forced temporal sequence is an order relation on the structure. There is a second binary relation which expresses the incompatibility of two actions with respect to some run. It is called the conflict relation. Moreover, if one needs to consider the actions corresponding to the events, those events may be labelled by these actions precisely. More generally, this labelling concept is defined independently of the actions and this leads to the concept of nice labelling: each event is labelled in such a way that two different events may have the same label only if either they are in temporal causality relation or they are not the initial occurrences of incompatible actions. There are two other models for parallelism which describe equivalently the working of a distributed system: - The transition system (related to the states of the system). To define a nice labelling of the event structure is equivalent to label the transitions by actions with the following condition: two transitions associated with the same initial state but with two different final states must have two different labels (nondeterminism is not allowed). Such transition systems are restricted state systems. - The distributed monoids (defined for restricted systems). There is a canonical mapping from the set of states of the system to the set of words built from the sequences of transitions used to change states. A given state may be reached from the initial state through different sequences of transitions. The problem we are interested in arises when studying the equivalence of these three different models.

Problem 1.1. If there is a jinite number of actions then there is a finite nice labelling. What about the converse or, more weakly, for which class of event structures does there exist a jinite nice labelling?

Finite luhelling problem in event structures

The nice-labelling problem chains and hence Dilworth’s

11

suggests the classical problem of covering a poset by theorem (Theorem 1.2). To recall this theorem, some

definitions are necessary. Let (X,

Suggest Documents