pm4py.algo.discovery.footprints.tree.variants package

Submodules

pm4py.algo.discovery.footprints.tree.variants.bottomup 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.discovery.footprints.tree.variants.bottomup.Outputs(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITIES = 'activities'
ACTIVITIES_ALWAYS_HAPPENING = 'activities_always_happening'
DFG = 'dfg'
END_ACTIVITIES = 'end_activities'
MIN_TRACE_LENGTH = 'min_trace_length'
PARALLEL = 'parallel'
SEQUENCE = 'sequence'
SKIPPABLE = 'skippable'
START_ACTIVITIES = 'start_activities'
TRACE = 'trace'
pm4py.algo.discovery.footprints.tree.variants.bottomup.apply(tree: pm4py.objects.process_tree.obj.ProcessTree, parameters: Optional[Dict[Any, Any]] = None) Dict[str, Any][source]

Footprints detection on process tree

Parameters
  • tree – Process tree

  • parameters – Parameters of the algorithm

Returns

Footprints

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.fix_fp(sequence, parallel)[source]

Fix footprints

Parameters
  • sequence – Sequence

  • parallel – Parallel

Returns

  • sequence – Sequence

  • parallel – Parallel

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_all_footprints(tree, parameters=None)[source]

Gets all the footprints for the nodes of the tree

Parameters
  • tree – Process tree

  • parameters – Parameters of the algorithm

Returns

Dictionary that associates a footprint to each node of the tree

Return type

dictio

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints(node, footprints_dictio)[source]

Gets the footprints for a node (having the history of the child nodes)

Parameters
  • node – Node of the tree

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the node (having the history of the child nodes)

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints_leaf(node, footprints_dictio)[source]

Gets the footprints for a leaf node

Parameters
  • node – Node

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the leaf node

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints_loop(node, footprints_dictio)[source]

Gets the footprints for the loop

Parameters
  • node – Node

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the loop node

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints_parallel(node, footprints_dictio)[source]

Gets the footprints for the parallel node

Parameters
  • node – Node

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the parallel node

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints_sequence(node, footprints_dictio)[source]

Gets the footprints for the sequence

Parameters
  • node – Node

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the sequence node

Return type

footprints

pm4py.algo.discovery.footprints.tree.variants.bottomup.get_footprints_xor(node, footprints_dictio)[source]

Gets the footprints for the XOR node

Parameters
  • node – Node

  • footprints_dictio – Dictionary of footprints of the process tree

Returns

Footprints of the XOR node

Return type

footprints

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