pm4py.objects.ocel.util.filtering_utils module#
- class pm4py.objects.ocel.util.filtering_utils.Parameters(*values)[source]#
Bases:
Enum- EVENT_ID = 'param:event:id'#
- OBJECT_ID = 'param:object:id'#
- OBJECT_TYPE = 'param:object:type'#
- pm4py.objects.ocel.util.filtering_utils.propagate_event_filtering(ocel: OCEL, parameters: Dict[Any, Any] | None = None) OCEL[source]#
Propagates the filtering at the event level to the remaining parts of the OCEL structure (objects, relations)
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the algorithm, including: - Parameters.EVENT_ID => the column to be used as case identifier - Parameters.OBJECT_ID => the column to be used as object identifier - Parameters.OBJECT_TYPE => the column to be used as object type
- Returns:
Object-centric event log with propagated filter
- Return type:
ocel
- pm4py.objects.ocel.util.filtering_utils.propagate_object_filtering(ocel: OCEL, parameters: Dict[Any, Any] | None = None) OCEL[source]#
Propagates the filtering at the object level to the remaining parts of the OCEL structure (events, relations)
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the algorithm, including: - Parameters.EVENT_ID => the column to be used as case identifier - Parameters.OBJECT_ID => the column to be used as object identifier - Parameters.OBJECT_TYPE => the column to be used as object type
- Returns:
Object-centric event log with propagated filter
- Return type:
ocel
- pm4py.objects.ocel.util.filtering_utils.propagate_relations_filtering(ocel: OCEL, parameters: Dict[Any, Any] | None = None) OCEL[source]#
Propagates the filtering at the relations level to the remaining parts of the OCEL structure (events, objects)
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the algorithm, including: - Parameters.EVENT_ID => the column to be used as case identifier - Parameters.OBJECT_ID => the column to be used as object identifier - Parameters.OBJECT_TYPE => the column to be used as object type
- Returns:
Object-centric event log with propagated filter
- Return type:
ocel