Crate pns

Source
Expand description

See the description

Structs§

FireChanges
Contains the changes of fireable transitions.
Net
A type representing a petri net. It only stores the initial state, not the state used for simulation.
Node
A node of a petri net; stores the indices to the next and previous nodes.
State
The state of the petri net used for simulation.
StateInitializationError
The error type when state initialization fails.
TransitionList
Represents a list of transitions. Can be used as an iterator.
TransitionView
Represents a view of transitions. Can be used as an iterator.

Type Aliases§

Pid
The identifier meant to represent places.
Tid
The identifier meant to represent transitions.