pm4py.statistics.ocel.objects_ot_count module#

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

Bases: Enum

EVENT_ID = 'param:event:id'#
OBJECT_ID = 'param:object:id'#
OBJECT_TYPE = 'param:object:type'#
pm4py.statistics.ocel.objects_ot_count.get_objects_ot_count(ocel: OCEL, parameters: Dict[Any, Any] | None = None) Dict[str, Dict[str, int]][source]#

Counts for each event the number of related objects per type

Parameters:
  • ocel – Object-centric Event log

  • parameters – Parameters of the algorithm, including: - Parameters.EVENT_ID => the event identifier to be used - Parameters.OBJECT_ID => the object identifier to be used - Parameters.OBJECT_TYPE => the object type to be used

Returns:

Dictionary associating to each event identifier a dictionary with the number of related objects

Return type:

dict_ot