Skip to main content

oc_performance

process_mining::analysis::object_centric::oc_performance

Functions in this Module(2)

locel_oc_perf_sync_per_event

Per-event synchronization time and the delaying object.
For each event with at least one directly-follows predecessor, the synchronization time is
max_predecessor_time - min_predecessor_time in integer microseconds (the span between its
earliest and latest directly-preceding event). The delaying object is the object linking the
latest predecessor (ties broken by ascending object id).
Returns one row (event_id, sync_us, delaying_object_id) per qualifying event.
top_k: if Some(k), return only the k rows with the largest sync_us, ties broken by
ascending event id, sorted descending. None returns every qualifying event.
Source
fn locel_oc_perf_sync_per_event(ocel*: SlimLinkedOCEL, top_k: Option<i64>)Vec<(String, i64, String)>

Arguments

Returns

import r4pm
ocel = r4pm.import_item('SlimLinkedOCEL','path/to/file')

res = r4pm.bindings.locel_oc_perf_sync_per_event(ocel, 1)
Defined inprocess_mining/src/analysis/object_centric/oc_performance.rs:59

locel_oc_perf_sojourn_per_event

Per-event sojourn time.
For each event with at least one directly-follows predecessor, the sojourn time is
event_time - latest_predecessor_time in integer microseconds. Returns one row
(event_id, sojourn_us) per qualifying event.
top_k: if Some(k), return only the k rows with the largest sojourn_us, ties broken by
ascending event id, sorted descending. None returns every qualifying event.
Source
fn locel_oc_perf_sojourn_per_event(ocel*: SlimLinkedOCEL, top_k: Option<i64>)Vec<(String, i64)>

Arguments

Returns

import r4pm
ocel = r4pm.import_item('SlimLinkedOCEL','path/to/file')

res = r4pm.bindings.locel_oc_perf_sojourn_per_event(ocel, 1)