- pm4py.ocel.ocel_o2o_enrichment(ocel: OCEL, included_graphs: Optional[Collection[str]] = None) OCEL [source]#
Inserts the information inferred from the graph computations (pm4py.discover_objects_graph) in the list of O2O relations of the OCEL.
OCEL) – object-centric event log
included_graphs – types of graphs to include, provided as list/set of strings (object_interaction_graph, object_descendants_graph, object_inheritance_graph, object_cobirth_graph, object_codeath_graph)
- Return type:
import pm4py ocel = pm4py.read_ocel('trial.ocel') ocel = pm4py.ocel_o2o_enrichment(ocel) print(ocel.o2o)