• Aucun résultat trouvé

SLAPn: A Tool for slicing Algebraic Petri nets

N/A
N/A
Protected

Academic year: 2021

Partager "SLAPn: A Tool for slicing Algebraic Petri nets"

Copied!
1
0
0

Texte intégral

(1)

SLAP

N

: A tool for Slicing Algebraic Petri Nets

Yasir Imtiaz Khan and Nicolas Guelfi

{yasir.khan, nicolas.guelfi}@uni.lu

Problem Description

Algebraic Petri nets (APNs) is a well suited formalism to represent the behavior of concurrent and distributed systems by handling complex data. For the analysis of systems modelled in APNs, model checking and testing are used commonly. The question is how to define APN slicing and how to implement it in a verification tool.

SLAP

N

Overview

The objective of SLAPN is to show the practical usability of slicing by implementing the proposed slicing

algorithms. First of all an APN is partially unfolded and, from the temporal description of properties, places are extracted (shown in Fig2). Different slicing algorithms such as abstract slicing, concerned slicing, APN slicing, safety slicing, liveness slicing(shown in the meta model of SLAPNN , Fig3) can be used to generate the slice.

PN Slicing

PN slicing is used to syntactically reduce Petri net model based on a given criteria. A criteria is a prop-erty for which PN model is analysed. The sliced part constitutes the only part of the PN model that may affect the criteria.

Roughly, we can divide PN Slicing into two major classes (shown in Fig.1), which are

Static Slicing: If the initial markings of places are not considered for generating sliced net.

Dynamic Slicing: If the initial markings of places are considered for generating sliced net.

There are two ways to generate the static and dy-namic slices that are forward and backward slic-ing. A Forward slice starts from the initially marked places and then by forward traversal of PN model until the places extracted from the criteria, a sliced net is generated. A Backward slice starts from the places extracted from criteria and then by backward traversal until reaching a fixed point, a sliced net is generated.

We propose slicing algorithms for APNs: • APN Slicing

• Abstract Slicing • Concerned Slicing • Liveness Slicing

Types of slicing Figure 1

Static Slicing Dynamic Slicing

Forward Slicing Backward Slicing

Conclusion and future work

• APN slicing can be used as a pre-processing step towards the verification of systems mod-elled in APNs. The sliced APN model can then be used to generate state space.

• Our work is the first effort to define and im-plement the proposed slicing algorithms.

• As a future work, we consider to integrate SLAPN with the existing model checkers such

as AlPiNA [3].

• We intend to develop SLAPN as a generic tool

over the PN classes such as timed PN, colored PN.

Aknowledgement

*This work has been supported by the FNR, Luxem-bourg, Project RESIsTANT, PHD-MARP-10. Pre-sented at PNSE’14.

SLAPN

N

FLOW Figure 2

P 1 x [1,2] t1 x x [1] [] t2 x P2 P 3 [1,2] t1 1 t1 3 t1 2 [] t2 2 t23 t2 1 2 3 [1] 1 2 3 1 2 3 1 2 3 P 1 P 2 P 3 1

SLAP

N

[1,2] t1 1 t1 3 t1 2 [1] 1 2 3 1 2 3 P 1 P 2 APN Model

Unfolded APN Model

Temporal Property

Sliced Unfolded APN Model

Partially unfold APN Extract Places

Criterion Place(s)P2

AG(P

2

!= 0)

Slicing Algebraic Petri nets

One characteristic of APNs that makes them com-plex to slice is the use of multisets of algebraic terms over the arcs. In principle, algebraic terms may con-tain variables. Even though, we want to reach a syn-tactically reduced net (to be semantically valid), its reduction by slicing, needs to determine the possible ground substitutions of these algebraic terms.

We use partial unfolding proposed in [3] to deter-mine ground substitutions of the algebraic terms over the arcs of an APN.

References

[1] Y.I. Khan, M. Risoldi Optimizing Algebraic Petri net model checking by Slicing In ModBE’13 associated Petri Nets’13, 2013.

[2] Y.I. Khan, N. Guelfi Slicing High-level Petri nets echni-cal Report TR-LASSY-14-03, University of Luxembourg, 2014.

[3] D. Buchs, S. Hostettler,A. Marechal,A. Linard,M. Risoldi, AlPiNA: A symbolic model checker In Sprinter Berlin Heidelberg’10, 2010.

Références

Documents relatifs

Various virtualization technologies contribute in different ways: Virtual Machine (VM) enables dynamic ways to manage physical servers; Software Defined Networking

Dicing soft solids with a sharp knife is quicker and smoother if the blade is sliding rapidly parallel to its edge in addition to the normal squeezing motion.. We explain this

Let us study the results summarized in the table.1, the first column shows different slicing algorithms under observation. For each algorithm, the table lists i) in which context

In this section, we evaluate our abstract slicing algorithm and compare with existing slicing construction for APNs (Note: We do not include concerned slicing algorithm in

Let us take a criterion place (i.e, System) from the car crash APN model and apply our proposed concerned slicing algorithm to find which transitions and places can contribute tokens

The fifth column reports how many places (related to the properties) in the model lead to no reduction using our slicing method. Finally, the structure of APN models under

In the fifth column total number of places is given, for the properties related to these places, our slicing does not reduce the number of states. Finally, the structure of APN

An SPL can be structured into: (i) a feature model de- scribing the variants in terms of features (each feature is a name representing an abstract description of functionality and