pm4py.algo.reduction.process_tree package

Submodules

pm4py.algo.reduction.process_tree.reducer module

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\\FRAUNHOFER\\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