pm4py.evaluation.soundness.woflan.not_well_handled_pairs package

Submodules

pm4py.evaluation.soundness.woflan.not_well_handled_pairs.not_well_handled_pairs module

pm4py.evaluation.soundness.woflan.not_well_handled_pairs.not_well_handled_pairs.apply(net)[source]

Using the max-flow min-cut theorem, we compute a list of nett well handled TP and PT pairs (T=transition, P=place) :param net: Petri Net :return: List

pm4py.evaluation.soundness.woflan.not_well_handled_pairs.not_well_handled_pairs.create_network_graph(net)[source]

Transform a given Petri Net in a network graph. Each place and transition is node and gets duplicated. The even numbers handle the inputs of a node, the odds the output. :param net: PM4Py Petri Net representation :return: networkx.DiGraph(), bookkeeping dictionary

Module contents