pm4py.analysis.reduce_petri_net_implicit_places#
- pm4py.analysis.reduce_petri_net_implicit_places(net: PetriNet, im: Marking, fm: Marking) Tuple[PetriNet, Marking, Marking] [source]#
Reduce the number of invisibles transitions in the provided Petri net.
- Parameters:
- Return type:
Tuple[PetriNet, Marking, Marking]
import pm4py net, im, fm = pm4py.read_pnml('model.pnml') net = pm4py.reduce_petri_net_implicit_places(net, im, fm)