pm4py.objects.ocel.util.ocel_iterator module#
- class pm4py.objects.ocel.util.ocel_iterator.Parameters(*values)[source]#
Bases:
Enum- OCEL_TYPE_PREFIX = 'param:object:type:prefix:extended'#
- pm4py.objects.ocel.util.ocel_iterator.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None)[source]#
Creates an iterator over the events of an object-centric event log
- Parameters:
ocel – OCEL
parameters – Parameters of the method, including: - Parameters.OCEL_TYPE_PREFIX => the prefix of the object types in the OCEL (default: ocel:type)
- Returns:
The events of the OCEL, one by one.
- Return type:
yielded event