Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstink committed Nov 6, 2023
1 parent 3530971 commit 5d0380d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ Net net = {{"foo", {{"B", "C"}, {"Z", "B"}}},
{"bar", {{"Z"}, {"B", "C"}}}};
Store store = {{"foo", &foo}, {"bar", &bar}};
PriorityTable priority = {};
Marking m0 = {{"Z", 1}, {"B", 0}, {"C", 0}};
Marking m0 = {{"Z", Color::toString(Color::Success)}};
auto pool = std::make_shared<symmetri::TaskSystem>(4);
symmetri::PetriNet app(net, m0, {}, store, priority,
"test_net_without_end", pool);
auto res = app.fire(); // run until done.
auto result = fire(app); // run until done.
auto log = getLog(app);
```
- `net` is a multiset description of a Petri net
Expand Down

0 comments on commit 5d0380d

Please sign in to comment.