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

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

Submodules#

pm4py.algo.discovery.footprints.tree.variants.bottomup module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

class pm4py.algo.discovery.footprints.tree.variants.bottomup.Outputs(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

DFG = 'dfg'#
SEQUENCE = 'sequence'#
PARALLEL = 'parallel'#
START_ACTIVITIES = 'start_activities'#
END_ACTIVITIES = 'end_activities'#
ACTIVITIES = 'activities'#
SKIPPABLE = 'skippable'#
ACTIVITIES_ALWAYS_HAPPENING = 'activities_always_happening'#
MIN_TRACE_LENGTH = 'min_trace_length'#
MAX_TRACE_LENGTH = 'max_trace_length_wo_loops'#
TRACE = 'trace'#
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_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

Footprints of the leaf node

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

Footprints of the XOR node

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

Footprints of the parallel node

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

Footprints of the sequence node

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

Footprints of the loop node

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

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

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#

dictio

Dictionary that associates a footprint to each node of the tree

pm4py.algo.discovery.footprints.tree.variants.bottomup.apply(tree: ProcessTree, parameters: Dict[Any, Any] | None = None) Dict[str, Any][source]#

Footprints detection on process tree

Parameters#

tree

Process tree

parameters

Parameters of the algorithm

Returns#

footprints

Footprints