Skip to main content
Rust4PM

reflow

process_mining::analysis::object_centric::reflow

Functions in this Module(2)

reflow

analysis::object_centric::reflowSource

Reflow under the abstraction ReflowOptions::abstraction names.

Reports progress in the stages "Building activity grid" (activities checked), "Expanding" (candidate cells checked, with ReflowOptions::expand) and "Searching flow" (work done, out of ReflowOptions::max_work).

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 of [`reflow`].

Store the result under this id instead of a generated one.

import r4pm

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

reflow_from_tagged

analysis::object_centric::reflowSource

Read the flow layer off a tagged log and annotate it.

The object schema is discovered from the full projection, so nothing but the tagged log is needed. A recorded cell flows if one of its participations flows. Only ReflowOptions::theta and ReflowOptions::abstraction are read, and the repair phase adds no cell.

Reports progress in the stage "Building activity grid", as reflow.

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 of [`reflow`].

Store the result under this id instead of a generated one.

import r4pm

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