pm4py.llm.abstract_petri_net#
- pm4py.llm.abstract_petri_net(net: PetriNet, im: Marking, fm: Marking, response_header: bool = True) str [source]#
Obtain an abstraction of a Petri net
- Parameters:
- Return type:
str
import pm4py net, im, fm = pm4py.read_pnml('tests/input_data/running-example.pnml') print(pm4py.llm.abstract_petri_net(net, im, fm))