z-logo
open-access-imgOpen Access
Set difference operation for regular Petri net languages for the producer/consumer problem with the bounded buffer
Author(s) -
Vitalii Statkevych
Publication year - 2021
Publication title -
sistemnì doslìdžennâ ta ìnformacìjnì tehnologìï
Language(s) - English
Resource type - Journals
eISSN - 2308-8893
pISSN - 1681-6048
DOI - 10.20535/srit.2308-8893.2021.2.08
Subject(s) - reachability , bounded function , petri net , regular expression , automaton , set (abstract data type) , regular language , expression (computer science) , graph , mathematics , discrete mathematics , computer science , net (polyhedron) , theoretical computer science , algorithm , programming language , mathematical analysis , geometry
We consider a Petri net for the producer/consumer problem (one of the classical synchronization problems) with the bounded buffer of size n and the regular formal languages Ln, generated by the net. The objective of this paper is to obtain a regular expression for the set difference of languages Ln \ Lm, n > m. For this purpose, we give the finite automaton which accepts the set difference of mentioned languages, and then we use the state elimination method to obtain the regular expression in the recursive form. The main result is illustrated by the examples. In an appendix, we consider the problem with two producers and two consumers with the bounded buffer of size 1. We give a reachability graph and propose the method for obtaining the regular expression. The explicit formulas are given for the problem with two producers and one consumer and also for the problem with one producer and two consumers.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here