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
2017-09-08 13:51:48 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4f8c7f331e192ad0cd400a308a003500759400e4
4f8c7f33
1 parent
572dd670
fixed typo in doctests
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
snakes/plugins/bound.py
snakes/plugins/bound.py
View file @
4f8c7f3
...
...
@@ -11,11 +11,11 @@ violate any of a place bound. (But note that direct modifications of a
>>> import snakes.plugins
>>> snakes.plugins.load('bound', 'snakes.nets', 'nets')
<module ...>
>>> from nets import *
If parameter `bound` is given as a non-negative integer, this is the
upper bound of the place (and its lower bound is zero).
>>> from nets import *
>>> n = PetriNet('N')
>>> p = Place('p', [dot], bound=3)
>>> n.add_place(p)
...
...
Please
register
or
login
to post a comment