27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Decidability of Minimal Supports of S-invariants and the Computation of their Supported<br />

S-invariantsof Petri Nets<br />

Faming Lu, Qingtian Zeng * , Hao Zhang,Yunxia Bao, Jiufang An<br />

Shandong University of Science and Technology<br />

Qingdao, China<br />

Abstract—S-invariants play an important role in the structural<br />

property analysis of Petri nets and there is no algorithm that can<br />

derive all the S-invariants of a Petri net in polynomial time.<br />

Fortunately what needed to do in some practical applications is<br />

only to decide whether or not a given place subset is a minimal<br />

support of S-invariants or to compute one of its supported S-<br />

invariants. For this reason, a sufficient and necessary condition<br />

for a place subset to be a minimal support of S-invariants is<br />

proved in this paper. After that, two polynomial algorithms for<br />

the decidability of a minimal support of S-invariants and for the<br />

computation of an S-invariant supported by a given minimal<br />

support are presented.<br />

Keywords: Petri nets; S -invariants; minimal supports of S-<br />

invariants<br />

I. INTRODUCTION<br />

Petri nets are widely applied in modeling and simulation of<br />

flexible manufacturing system, workflow management,<br />

discrete event systems and many other fields [1-4] . S-invariants<br />

are one of the basic analysis tools of Petri nets from which we<br />

can analyze such properties as co nservativeness, liveness and<br />

other important properties of a system.<br />

For the computation of S-invariants, reference [1] h as<br />

already pointed out that there is no algorithm which can derive<br />

all the S-invariants of Petri nets in polynomial time<br />

complexity. Even so, t here is still a lot of work devoted to<br />

deriving S-invariants. In [5], a linear programming based<br />

method is presented to compute part of S-invariant’s supports,<br />

but integer S-invariants can’t be obtained. In [6-7], a<br />

Fourier_Motzkin method is presented to compute a basis of all<br />

S-invariants, but its time complexity is exponential. Reference<br />

[8-9] put forward a ST FM method which has a g reat<br />

improvement in efficiency compared to the above methods,<br />

but there are some kinds of Petri nets the S-invariants of which<br />

can’t be obtained with STFM method and the STFM method<br />

has an exponential time complexity too in the worst case.<br />

So the difficulty of deriving S -invariants is high. What<br />

needed to do in some practical applications is only to decide<br />

whether or not a given place subset is a minimal support of S-<br />

invariants, or to compute only one S-invariant for a g iven<br />

place subset. Even so, there is no efficient algorithm by now<br />

This work is supported partly by the NSFC (61170079); Sci. & Tech. Development Fund<br />

of Shandong Province of China (2010GSF10811); Specialized Research Fund for the<br />

Doctoral Program of Higher Education of China (20103718110007); Sci. & Tech.<br />

Development Fund of Qingdao(10-3-3-32-nsh and 2011-2-47), Excellent Young Scientist<br />

Foundation of Shandong Province (BS2009DX004 and BS2010DX009);Natural Science<br />

Foundation for Distinguished Young Scholars of Shandong and SDUST (JQ200816 and<br />

2010KYJQ101),Guiding project of Coal Ministry(MTKJ2011-370); Project of Shandong<br />

Province Higher Educational Sci.&Tech. Program(J12LN11); Research Project of SUST<br />

Spring Bud(2010AZZ177, 2010AZZ069).<br />

* corresponding author: Q. Zeng, Email: qtzeng@sdust.edu.cn<br />

which can decide t he minimal supports of S-invariants or<br />

compute an S-invariant for a given place subset. In this paper,<br />

two polynomial algorithms for th e decidability of a minimal<br />

support of S-invariants and for the computation of an S-<br />

invariant supported by a given minimal support are presented.<br />

The rest of this paper is organized as follows. In Section 2,<br />

we provide the basic concepts about Petri nets and S-<br />

invariants. In Section 3, so me properties of S-invariants are<br />

presented. With these properties, a pol ynomial algorithm is<br />

provided to decide th e minimal supports of S-invariants in<br />

Section 4. After that a polynomial algorithm to compute an S-<br />

invariant for a giv en place s ubset is presented in Section 5.<br />

Finally a case study and a conclusion are given in Section 6-7.<br />

II.<br />

BASIC CONCEPTS ABOUT PETRI NETS<br />

A Petri net is a 5-tuple ( ST , ; FW , , M)<br />

, where S is a<br />

0<br />

finite set of places, T is a finite set of transitions,<br />

F S T ( T S)<br />

is a set of flow relation, W : F 1, 2,3,... is a<br />

weight function, M : S {01,2, }<br />

is the initial marking,<br />

0<br />

and S T S T<br />

. Usually, a P etri net can be<br />

represented by a bipartite graph just like in Fig.1 where a place<br />

is presented by a circle, a transition is presented by a rectangle,<br />

a flow relation is presented by an arc and t he marking is<br />

presented by those black-points in places.<br />

2<br />

t 1<br />

s<br />

2<br />

1<br />

t 2 t<br />

t 4<br />

3<br />

s 2 s 3<br />

s 4<br />

s 5 s 6<br />

Fig 1. A Petri net example 1<br />

2 1 0 0 1 0 <br />

<br />

<br />

0 1 1 0 0 1<br />

A <br />

<br />

0 0 1 1 1 0 <br />

<br />

<br />

2 0 0 1 0 1<br />

According to [3-4], the incidence matrix of is the above<br />

1<br />

matrix A with each row corresponding to a transition and each<br />

column corresponding to a place. Place subsets<br />

S <br />

1 s , s , s , s<br />

1 2 3 4<br />

and S <br />

2 s , s , s<br />

1 4 5<br />

are two minimal<br />

supports of S-invariants of . It has been proved in [4] that<br />

1<br />

there is a un ique minimal S-invariant supported by a given<br />

minimal support. And the minimal S-invariants supported by<br />

S and S are Y <br />

1<br />

2<br />

1 1 2 2 2 0 0<br />

T<br />

and<br />

Y <br />

2 1 0 0 2 2 0<br />

T<br />

respectively. S <br />

3 s , s , s , s , s<br />

1 2 3 4 5<br />

is<br />

a support of S-invariants too and Y <br />

3 1 1 1 2 1 0<br />

T<br />

is<br />

one of its supported S-invariants. But S is not a minimal<br />

3<br />

340

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!