Skip to main content

variants

process_mining::discovery::object_centric::variants

Functions in this Module(1)

get_variants_of_object_type

Get all activity-trace variants for objects of the given object type, with their occurrence counts
Each entry is a tuple (activity_trace, count), where activity_trace is the sequence of event types
connected to an object (ordered by event timestamp), and count is the number of objects of the
requested type that share that exact trace. Sorted by count descending, ties broken by the
activity trace.
Source
fn get_variants_of_object_type(ocel*: SlimLinkedOCEL, ob_type*: String)Vec<(Vec<String>, i64<uint>)>

Arguments

Returns

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

res = r4pm.bindings.get_variants_of_object_type(ocel, 'order')