#petri #nets #net #wrapper #look #simulating

sys pns

A simple, safe and efficient library wrapper for simulating a minimal form of petri nets

22 releases (14 breaking)

0.15.0 Jan 19, 2024
0.14.0 Aug 27, 2023
0.13.0 Aug 21, 2023
0.12.0 Oct 19, 2022
0.2.1 Jan 22, 2019

#96 in Simulation

Download history 10/week @ 2024-01-15 36/week @ 2024-02-19 11/week @ 2024-02-26 20/week @ 2024-03-11 36/week @ 2024-04-01

56 downloads per month
Used in 4 crates

MIT/Apache

85KB
2K SLoC

Rust 1K SLoC // 0.0% comments C 1K SLoC // 0.0% comments

Petri net simulator for rust

This is a rust binding to my petri net simulator written in C. The rust binding tries to be safer than the C API, and simplifies interactive editing and reaction to changes. The example should do exactly the same as in the C version.

For more information look at the documentation or have a look at the C API.

Also have a look at the petri net editor, which makes use of the whole API, and helps you understand, how it works.


lib.rs:

See the description *

Dependencies