# pm4py.algo.discovery.footprints package

## pm4py.algo.discovery.footprints.algorithm module

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

Bases: enum.Enum

An enumeration.

DFG = <module 'pm4py.algo.discovery.footprints.dfg.variants.dfg' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\dfg\\variants\\dfg.py'>
ENTIRE_DATAFRAME = <module 'pm4py.algo.discovery.footprints.log.variants.entire_dataframe' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\log\\variants\\entire_dataframe.py'>
ENTIRE_EVENT_LOG = <module 'pm4py.algo.discovery.footprints.log.variants.entire_event_log' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\log\\variants\\entire_event_log.py'>
PETRI_REACH_GRAPH = <module 'pm4py.algo.discovery.footprints.petri.variants.reach_graph' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\petri\\variants\\reach_graph.py'>
PROCESS_TREE = <module 'pm4py.algo.discovery.footprints.tree.variants.bottomup' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\tree\\variants\\bottomup.py'>
TRACE_BY_TRACE = <module 'pm4py.algo.discovery.footprints.log.variants.trace_by_trace' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\footprints\\log\\variants\\trace_by_trace.py'>
pm4py.algo.discovery.footprints.algorithm.apply(*args, variant=None, parameters: Optional[Dict[Any, Any]] = 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

## pm4py.algo.discovery.footprints.outputs module

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.outputs.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'