pm4py.algo.discovery.split_miner.variants.abc 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.split_miner.variants.abc.Parameters(*values)[source]#
Bases:
Enum- OR_MINIMISE = 'split_miner_or_minimise'#
- class pm4py.algo.discovery.split_miner.variants.abc.SplitMinerFramework[source]#
Bases:
ABCPipeline runner shared by every Split Miner variant.
- do_extract_traces(log: EventLog | EventStream | DataFrame, parameters: Dict[str, Any] | None = None) List[List[str]][source]#
Project a pm4py log onto label sequences wrapped with sentinels.
Each trace becomes
[START_LABEL, *activity_labels, END_LABEL]so the resulting BPMN has a single source and a single sink. Subclasses that need richer per-event data (e.g. lifecycle phases) override this method.
- do_dfg_discovery(traces: List[Any], parameters: Dict[str, Any] | None = None) Tuple[Dict[Tuple[str, str], int], LoopInfo][source]#
- do_concurrency(dfg: Dict[Tuple[str, str], int], traces: List[Any] | None, loops: LoopInfo, parameters: Dict[str, Any] | None = None) ConcurrencyResult[source]#
- do_filter(pdfg: Dict[Tuple[str, str], int], parameters: Dict[str, Any] | None = None) FilterResult[source]#
- do_build_initial_bpmn(filtered: FilterResult, concurrency: ConcurrencyResult, loops: LoopInfo, parameters: Dict[str, Any] | None = None) WorkingGraph[source]#
- or_handling_is_mandatory() bool[source]#
Whether
do_minimize_or_joins()runs unconditionally.For classic Split Miner the OR-join minimisation is an optional post-step governed by the
minimize_or_joinsflag. For Split Miner 2.0 the OR handling (inclusive joins left in place plus the OR-split heuristic) is an intrinsic stage of the referencereplaceIORsstep, so that variant forces it on regardless of the flag.