pm4py.statistics.ocel.ot_activities module#

class pm4py.statistics.ocel.ot_activities.Parameters(*values)[source]#

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
OBJECT_TYPE = 'param:object:type'#
TEMP_COLUMN = 'temp_column'#
TEMP_SEPARATOR = 'temp_separator'#
pm4py.statistics.ocel.ot_activities.get_object_type_activities(ocel: OCEL, parameters: Dict[Any, Any] | None = None) Dict[str, Collection[str]][source]#

Gets the set of activities performed for each object type

Parameters:
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm, including: - Parameters.ACTIVITY_KEY => the activity key - Parameters.OBJECT_TYPE => the object type column

Returns:

A dictionary having as key the object types and as values the activities performed for that object type

Return type:

dict