Skip to main content
Rust4PM

ocpn

process_mining::discovery::object_centric::ocpn

Related Examples(1)

Functions in this Module(1)

discover_ocpn

discovery::object_centric::ocpnSource

discover_ocpn_from on a SlimLinkedOCEL, returning the flat JSON form.

Reports progress with stage "Discovering nets per object type", as discover_ocpn_from.

Arguments
Import from .json, .json.gz, .xml, .xml.gz, .ocel.csv, .ocel.csv.gz, .ocel.zip, .ocel-parquet.zip, .sqlite, .duckdb, .xes, .xes.gz, or pass OCEL or IndexLinkedOCEL (converted automatically)

Settings for object-centric Petri net discovery.

ObjectCentricPetriNetJson

An object-centric Petri net as a flat list of places, transitions and arcs.

import r4pm

# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
res = r4pm.bindings.discover_ocpn(ocel)