pm4py.algo.discovery.footprints.algorithm module#

PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH

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.algorithm.Variants(*values)[source]#

Bases: Enum

ENTIRE_EVENT_LOG = <module 'pm4py.algo.discovery.footprints.log.variants.entire_event_log' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/log/variants/entire_event_log.py'>#
ENTIRE_DATAFRAME = <module 'pm4py.algo.discovery.footprints.log.variants.entire_dataframe' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/log/variants/entire_dataframe.py'>#
TRACE_BY_TRACE = <module 'pm4py.algo.discovery.footprints.log.variants.trace_by_trace' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/log/variants/trace_by_trace.py'>#
PETRI_REACH_GRAPH = <module 'pm4py.algo.discovery.footprints.petri.variants.reach_graph' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/petri/variants/reach_graph.py'>#
PROCESS_TREE = <module 'pm4py.algo.discovery.footprints.tree.variants.bottomup' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/tree/variants/bottomup.py'>#
POWL = <module 'pm4py.algo.discovery.footprints.powl.variants.bottomup' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/powl/variants/bottomup.py'>#
DFG = <module 'pm4py.algo.discovery.footprints.dfg.variants.dfg' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/dfg/variants/dfg.py'>#
POLARS_LAZYFRAMES = <module 'pm4py.algo.discovery.footprints.log.variants.polars_lazyframes' from '/home/javert/ALE/pm4py/pm4py/algo/discovery/footprints/log/variants/polars_lazyframes.py'>#
pm4py.algo.discovery.footprints.algorithm.apply(*args, variant=None, parameters: Dict[Any, Any] | None = None) → Dict[str, Any][source]#

Discovers a footprint object from a log/model

Parameters:
  • args – Positional arguments that describe the log/model

  • parameters – Parameters of the algorithm

  • variant –

    Variant of the algorithm, including:
    • Variants.ENTIRE_EVENT_LOG

    • Variants.TRACE_BY_TRACE

    • Variants.PETRI_REACH_GRAPH

    • Variants.DFG

Returns:

Footprints object

Return type:

footprints_obj