abstract_petri_net
Convert a discovered Petri net into a readable natural language description by enumerating its places, transitions, arcs, and markings.
Instructions
Describe a Petri net (from discover_petri_net) in natural language.
Wraps net_to_descr.apply(net, im, fm). Enumerates places, transitions,
arcs, and the initial / final markings. pm4py's net_to_descr has no
MAX_LEN parameter — the full description is always returned, so
truncated is always False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| petri_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||