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