path_schema_connections
bindings::path_schema_bindingsSourceFind the concrete instance connections of a single (resolved) schema, with metrics and
throughput. Entities are referenced by their compact OCEL index.
throughput. Entities are referenced by their compact OCEL index.
SlimLinkedOCELrequired
ResolvedPathSchemarequiredA self-contained, serializable path schema: edges are embedded, so no [`TypeGraph`]
PathConnectionParamsParameters for connection finding.
import r4pm
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
schema = {
"source": {"Event": 'example'},
"steps": [
{
"edge": {
"qualifier": 'places',
"source": {"Event": 'example'},
"target": {"Event": 'example'},
},
"reverse": False,
},
],
"target": {"Event": 'example'},
}
# Optional argument: params, can also be omitted
params = {"dedup_targets": False, "selection": 'All', "temporal": 'None'}
res = r4pm.bindings.path_schema_connections(ocel, schema, params)process_mining/src/bindings/path_schema_bindings.rs:113