pm4py.algo.evaluation.simplicity.variants package

Submodules

pm4py.algo.evaluation.simplicity.variants.arc_degree module

class pm4py.algo.evaluation.simplicity.variants.arc_degree.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

K = 'k'
pm4py.algo.evaluation.simplicity.variants.arc_degree.apply(petri_net, parameters=None)[source]

Gets simplicity from a Petri net

Vázquez-Barreiros, Borja, Manuel Mucientes, and Manuel Lama. “ProDiGen: Mining complete, precise and minimal structure process models with a genetic algorithm.” Information Sciences 294 (2015): 315-333.

Parameters
  • petri_net – Petri net

  • parameters

    Possible parameters of the algorithm:
    • K: defines the value to be substracted in the formula: the lower is the value,

    the lower is the simplicity value. k is the baseline arc degree (that is subtracted from the others)

Returns

Simplicity measure associated to the Petri net

Return type

simplicity

Module contents