Safe Petri Network
A safe petri network is a restrictive version of a petri network. At any time, any place can contain at most x tokens.
1-Safe Petri Network
A 1-safe petri network is a safe petri network that only allows 1 token per place/sequence.The scenario engine in Xareus can use 1-Safe Petri Nerworks.
When a Xareus 1-Safe Petri Network updates, it performs various operations involving both Places/Sequences and Transitions. Here is a workflow of such an update:
A transition can be fired if:
- All its upstream places contain one token
- All its sensors are activated