get_dfg_of_object_type
discovery::object_centric::dfgSourceGet the directly-follows graph (DFG) for objects of the given object type.
Each entry is
object's timestamp-ordered activity trace. Sorted by count descending, ties broken by
Each entry is
((from_activity, to_activity), count), counting adjacent pairs in eachobject's timestamp-ordered activity trace. Sorted by count descending, ties broken by
(from_activity, to_activity).SlimLinkedOCELrequired
Stringrequired
import r4pm
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
res = r4pm.bindings.get_dfg_of_object_type(ocel, 'order')process_mining/src/discovery/object_centric/dfg.rs:19