Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2014-06-13 16:46:00 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3fe7145d3d3642b5a3b0a24b30a9b886642c584b
3fe7145d
1 parent
71540714
added info about available groups
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
cinzia.py
cinzia.py
View file @
3fe7145
...
...
@@ -23,6 +23,7 @@ class CinziaSimulator (BaseSimulator) :
marking
=
self
.
states
[
state
]
ret
[
"variables"
]
=
dict
((
place
,
tokens
.
items
()[
0
])
for
place
,
tokens
in
marking
.
items
())
ret
[
"groups"
]
=
[
"timed"
,
"even"
,
"odd"
]
ret
[
"modes"
]
=
[]
for
i
,
(
trans
,
binding
)
in
enumerate
(
marking
.
modes
)
:
if
(
state
+
i
)
%
5
==
0
:
...
...
Please
register
or
login
to post a comment