Skip to main content

init_exit_events

process_mining::core::event_data::object_centric::utils::init_exit_events

Functions in this Module(1)

add_init_exit_events_to_ocel

Add artificial init/exit events to an OCEL
- events are added for each object, exactly or slightly before the time they first occur in an event
- events are added for each object, exactly or slightly after the time they last occur in an event
For an object of type order the activities are then called order or order, respectively.
__Note: This processing is no longer necessary for OC-DECLARE discovery and conformance checking__
This function remains, as it might be useful for other applications.
Source
fn add_init_exit_events_to_ocel(ocel*: OCEL)OCEL

Arguments

Returns

import r4pm

ocel = {"eventTypes": [{"name": 'example'}], "objectTypes": [{"name": 'example'}]}
res = r4pm.bindings.add_init_exit_events_to_ocel(ocel)