pm4py.algo.evaluation.simplicity.variants package

Submodules

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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

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: pm4py.objects.petri_net.obj.PetriNet, parameters: Optional[Dict[Union[str, pm4py.algo.evaluation.simplicity.variants.arc_degree.Parameters], Any]] = None) float[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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.