pm4py.algo.discovery.split_miner.dtypes.complex_log 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.dtypes.complex_log.ComplexLogResult(traces: ~typing.List[~typing.List[str]], is_complex: bool, overlap: ~typing.Dict[~typing.FrozenSet[str], int] = <factory>, observed: ~typing.Dict[str, int] = <factory>, potential_ors: ~typing.Set[~typing.FrozenSet[str]] = <factory>)[source]#

Bases: object

Outcome of parse_complex_log().

traces: List[List[str]]#
is_complex: bool#
overlap: Dict[FrozenSet[str], int]#
observed: Dict[str, int]#
potential_ors: Set[FrozenSet[str]]#
pm4py.algo.discovery.split_miner.dtypes.complex_log.parse_complex_log(event_log, activity_key: str, lifecycle_key: str, timestamp_key: str = 'time:timestamp') → ComplexLogResult[source]#

Project a pm4py event log onto Split Miner 2.0’s complex log.

Returns the per-trace complete-event label sequences (wrapped in the start/end sentinels) together with the lifecycle metadata needed by the concurrency oracle and the OR-split heuristic.

The reference implementation assumes a timestamp-ordered XES log; events within each trace are therefore sorted by timestamp (stably, so equal-timestamp events keep their recorded order) before the overlap-based concurrency is derived.