pm4py.objects.conversion.ocel.converter module#
- class pm4py.objects.conversion.ocel.converter.Variants(*values)[source]#
Bases:
Enum- OCEL_TO_NX = <module 'pm4py.objects.conversion.ocel.variants.ocel_to_nx' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/objects/conversion/ocel/variants/ocel_to_nx.py'>#
- OCEL_FEATURES_TO_NX = <module 'pm4py.objects.conversion.ocel.variants.ocel_features_to_nx' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/objects/conversion/ocel/variants/ocel_features_to_nx.py'>#
- pm4py.objects.conversion.ocel.converter.apply(ocel: OCEL, variant=Variants.OCEL_TO_NX, parameters: Dict[Any, Any] | None = None)[source]#
Converts an OCEL to another object.
- Parameters:
ocel – Object-centric event log
variant – Variant of the algorithm to use, posible values: - Variants.OCEL_TO_NX: graph containing event and object IDS and two type of relations (REL=related objects, DF=directly-follows) - Variants.OCEL_FEATURES_TO_NX: graph containing different types of interconnection at the object level
parameters – Variant-specific parameters