the petri net api - a collection of petri net-related functions

13
The Petri Net API Niels Lohmann Stephan Mennicke Christian Sura class PetriNet; a collection of Petri net-related functions

Upload: universitaet-rostock

Post on 28-Nov-2014

1.762 views

Category:

Education


7 download

DESCRIPTION

Workshop presentation given by Niels Lohmann on October 7, 2010 in Cottbus, Germany at the 17th German Workshop on Algorithms and Tools for Petri Nets (AWPN 2010).

TRANSCRIPT

Page 1: The Petri Net API - A collection of Petri net-related functions

The Petri Net API

Niels LohmannStephan MennickeChristian Sura

class  PetriNet;

a collection of Petri net-related functions

Page 2: The Petri Net API - A collection of Petri net-related functions

YET ANOTHER API FOR PETRI NETS? 1

DISCLAIMER #1 WE DO KNOW ABOUTTHE PETRI NET KERNEL!

DISCLAIMER #2 WE DO KNOW ABOUTTHE PNML FRAMEWORK!

Page 3: The Petri Net API - A collection of Petri net-related functions

DESIGN GOALS 2

GOAL #1

ONLY IMPLEMENTACTUALLY USEDFUNCTIONALITY

Page 4: The Petri Net API - A collection of Petri net-related functions

DESIGN GOALS 3

GOAL #2

BE AS PERFORMANTAS POSSIBLE

Page 5: The Petri Net API - A collection of Petri net-related functions

ORIGIN 4

CREATEMANIPULATEOUTPUT

Page 6: The Petri Net API - A collection of Petri net-related functions

FEATURES 5

PETRI NET CREATION AND MANIPULATION

SEVERAL INPUT/OUTPUT FILE FORMATS

STRUCTURAL REDUCTION TECHNIQUES

TRANSLATION FROM/INTO AUTOMATA

INTERFACES / NET COMPOSITION

ROLE INFORMATION

FINAL MARKINGS

STRUCTURAL CHECKS

Page 7: The Petri Net API - A collection of Petri net-related functions

DISCLAIMER 6

NO TIME

NO STOCHASTICS

NO COLOR

NO SPECIAL ARCS

Page 8: The Petri Net API - A collection of Petri net-related functions

TECHNICALITIES 7

C++ LIBRARY PLATFORM INDEPENDENT

EASY INTEGRATION

#include  <pnapi/pnapi.h>using  namespace  pnapi;

FREE + OPEN SOURCE

Page 9: The Petri Net API - A collection of Petri net-related functions

16 USING THE API

7 FOR THE APISTATUS QUO 8

26 DEVELOPERS

29 TOOLS

410,000 LINES OF CODE25,000 LINESARE THE API

Page 10: The Petri Net API - A collection of Petri net-related functions

SCENARIOS 9

BPEL2oWFN: COMPILER BACK-END

WENDY: STATE SPACE GENERATION

MARLENE: ADAPTER SYNTHESIS

SARA: SUPPORT OF REACHABILITY ANALYSIS

DIANE: NET DECOMPOSITION

LINDA: SUPPORT OF FINGERPRINT COMPUTATION

PETRI: GENERAL PURPOSE FRONT-END TOOL

...

Page 11: The Petri Net API - A collection of Petri net-related functions

YAWL Editor!

ProM!

INTEGRATION 10

Oryx!

Page 12: The Petri Net API - A collection of Petri net-related functions

SUMMARY 11

BUT THIS ONE IS ACTUALLY USEDYET ANOTHER PETRI NET API

http://service-­‐technology.org/pnapiDOWNLOAD IT!

MORE THAN TWICE AS FASTENCAPSULATION FACILITATES DEVELOPMENT

Page 13: The Petri Net API - A collection of Petri net-related functions

The Petri Net API

Niels LohmannStephan MennickeChristian Sura

class  PetriNet;

a collection of Petri net-related functions

[email protected]