pm4py.algo.evaluation.simplicity.variants.extended_cyclomatic module#

pm4py.algo.evaluation.simplicity.variants.extended_cyclomatic.apply(petri_net: PetriNet, im: Marking | None = None, parameters: Dict[Any, Any] | None = None) float[source]#

Computes the extended cyclomatic metric as described in the paper:

“Complexity Metrics for Workflow Nets” Lassen, Kristian Bisgaard, and Wil MP van der Aalst

Parameters:

petri_net – Petri net

Returns:

Extended Cyclomatic metric

Return type:

ext_cyclomatic_metric