pm4py.statistics.ocel.act_ot_dependent 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.statistics.ocel.act_ot_dependent.Parameters(*values)[source]#

Bases: Enum

OBJECT_TYPE = 'param:object:type'#
pm4py.statistics.ocel.act_ot_dependent.aggregate_events(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) → Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#

Utility method to calculate the “events” metric from the object-type specific associations.

pm4py.statistics.ocel.act_ot_dependent.aggregate_unique_objects(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) → Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#

Utility method to calculate the “unique objects” metric from the object-type specific associations.

pm4py.statistics.ocel.act_ot_dependent.aggregate_total_objects(associations: Dict[str, Dict[str, Set[Tuple[str, str]]]]) → Dict[str, Dict[str, Set[Tuple[str, str]]]][source]#

Utility method to calculate the “total objects” metric from the object-type specific associations.

pm4py.statistics.ocel.act_ot_dependent.find_associations_from_ocel(ocel: OCEL, parameters: Dict[Any, Any] | None = None) → Dict[str, Dict[str, List[Tuple[str, str]]]][source]#

Associates each object type and activity in the object-centric event log with the combinations of event identifiers and objects that are associated to them.

Parameters:
  • ocel – Object-centric event log

  • parameters – Parameters of the method, including: - Parameters.EVENT_ID => the attribute to use as event identifier - Parameters.OBJECT_ID => the attribute to use as object identifier - Parameters.EVENT_ACTIVITY => the attribute to use as activity

Returns:

Dictionary that associates each object type (first key) and activity (second key) to its (ev. id, obj id.) combinations.

Return type:

dict_associations