2 unstable releases
0.2.0 | Sep 21, 2024 |
---|---|
0.1.0 | Sep 16, 2024 |
#76 in Simulation
Used in 2 crates
18KB
396 lines
Petri Net Simulation Library for Rust
This library provides a safe and convenient Rust interface for simulating petri nets, specifically designed for modeling non-linear plots in stories and games. It builds upon the pns
crate, which is a low-level Rust binding to the petri net simulator written in C.
The library extends the functionality of the pns
crate by providing a higher-level, idiomatic Rust API that abstracts away the low-level details and ensures safe usage. It allows you to easily create, modify, and simulate petri nets using a more expressive and Rust-friendly interface.
Features
- Safe and idiomatic Rust API for simulating petri nets
- Designed for modeling non-linear plots in stories and games
- Builds upon the
pns
crate for low-level petri net simulation - Provides high-level abstractions and utilities for working with petri nets
- Integrates with the
event-simulation
crate for a unified simulation framework
Documentation
Petri Net Editor
For a visual and interactive way to create and edit petri nets, you can use the Petri Net Editor tool. It provides a graphical user interface and utilizes the entire API of this library to help you understand how it works.
Dependencies
~110KB