Add petrinet language
This commit is contained in:
parent
dd7a0536c9
commit
5240c7e21a
12 changed files with 137 additions and 7 deletions
10
examples/petrinet/models/m_example_simple.od
Normal file
10
examples/petrinet/models/m_example_simple.od
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
p0:Place
|
||||
p1:Place
|
||||
|
||||
t0:Transition
|
||||
:arc (p0 -> t0)
|
||||
:arc (t0 -> p1)
|
||||
|
||||
t1:Transition
|
||||
:arc (p1 -> t1)
|
||||
:arc (t1 -> p0)
|
||||
11
examples/petrinet/models/m_example_simple_rt_initial.od
Normal file
11
examples/petrinet/models/m_example_simple_rt_initial.od
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
p0s:PlaceState {
|
||||
numTokens = 1;
|
||||
}
|
||||
|
||||
:of (p0s -> p0)
|
||||
|
||||
p1s:PlaceState {
|
||||
numTokens = 0;
|
||||
}
|
||||
|
||||
:of (p1s -> p1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue