pm4py.ocel.ocel_e2o_lifecycle_enrichment#
- pm4py.ocel.ocel_e2o_lifecycle_enrichment(ocel: OCEL) OCEL [source]#
Enriches the OCEL with lifecycle-based information, indicating when an object is created, terminated, or has other types of relations, by updating the E2O relations.
- Parameters:
ocel (OCEL) – Object-centric event log.
- Returns:
Enriched object-centric event log with lifecycle information.
- Return type:
import pm4py ocel = pm4py.read_ocel('trial.ocel') ocel = pm4py.ocel_e2o_lifecycle_enrichment(ocel) print(ocel.relations)