pm4py.algo.reduction.process_tree package

Subpackages

Submodules

pm4py.algo.reduction.process_tree.reducer 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.reduction.process_tree.reducer.Variants(value)[source]

Bases: enum.Enum

An enumeration.

TREE_TR_BASED = <module 'pm4py.algo.reduction.process_tree.variants.tree_tr_based' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\reduction\\process_tree\\variants\\tree_tr_based.py'>
pm4py.algo.reduction.process_tree.reducer.apply(*args, **kwargs) Any[source]

Apply a reduction algorithm to a PM4Py object

Parameters
  • args – Arguments of the reduction algorithm

  • kwargs – Keyword arguments of the reduction algorithm (including the variant, that is an item of the Variants enum)

Returns

Reduced object

Return type

reduced_obj

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/>.