Skip to main content

oc_statistics

process_mining::analysis::object_centric::oc_statistics

Functions in this Module(2)

locel_conversion_rate

Conversion rate from source_type to target_type via O2O, restricted to targets touched by activity.
Returns the fraction of source_type objects that have at least one outgoing O2O edge to a
target_type object related (via E2O) to some event of the given event type. Returns 0.0
if no source_type objects exist.
Source
fn locel_conversion_rate(ocel*: SlimLinkedOCEL, activity*: String, source_type*: String, target_type*: String)f64

Arguments

Returns

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

res = r4pm.bindings.locel_conversion_rate(ocel, 'example', 'example', 'example')
Defined inprocess_mining/src/analysis/object_centric/oc_statistics.rs:45

locel_event_object_type_counts

Count E2O relationships per (event_type, object_type) pair.
Each entry is (event_type, object_type, count). A single (event, object) pair connected
by multiple qualifiers contributes once per qualifier. Pairs with zero relations are omitted.
Result row order is unspecified.
Source
fn locel_event_object_type_counts(ocel*: SlimLinkedOCEL)Vec<(String, String, i64)>

Arguments

Returns

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

res = r4pm.bindings.locel_event_object_type_counts(ocel)