Things I learned while programming as a Petri-net maximalist.

Comparing 3 petri-net variants

1. PetriNet


2. Elementary


3. Workflow


Comparison


Practical Applications:

  1. PetriNet: Use for complex, concurrent systems where multiple states must interact or coexist.

  2. Elementary: Apply to simpler decision trees or systems that require deterministic, single-state outputs.

  3. Workflow: Ideal for workflows or task management systems where retry and fail-safe mechanisms are essential.

This framework allows flexible modeling based on system requirements, enabling efficient and accurate representation of different operational paradigms.

Review the Rust code on used to compare these algorithms on github.