Skip to main content
Rust4PM

reflow_bindings

process_mining::bindings::reflow_bindings

Submodules(1)

Functions in this Module(9)

reflow_annotated_ocpn

bindings::reflow_bindingsSource
Discover an object-centric Petri net from the flow projection of a log under a result, with
the non-flow cells annotated at their transitions, and store it.
SlimLinkedOCELrequired
ReflowResultrequired
AnnotatedOcpnOptionsSettings of the annotated object-centric Petri net.
Option<String>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')
result = r4pm.import_item('ReflowResult', 'result.json')
res = r4pm.bindings.reflow_annotated_ocpn(ocel, result)
r4pm.export_item(res, 'output.json')

process_mining/src/bindings/reflow_bindings.rs:103

reflow_annotated_ocpn_net

bindings::reflow_bindingsSource
The object-centric Petri net of an annotated net, as a handle for other bindings.
AnnotatedOcpnrequired
Option<String>Store the result under this id instead of a generated one.
import r4pm

model = r4pm.import_item('AnnotatedOcpn', 'model.json')
res = r4pm.bindings.reflow_annotated_ocpn_net(model)
r4pm.export_item(res, 'output.json')

process_mining/src/bindings/reflow_bindings.rs:113

reflow_cells

bindings::reflow_bindingsSource
The cells of a result with their states, and its counts.
ReflowResultrequired
import r4pm

result = r4pm.import_item('ReflowResult', 'result.json')
res = r4pm.bindings.reflow_cells(result)

process_mining/src/bindings/reflow_bindings.rs:44

reflow_flow_log

bindings::reflow_bindingsSource
The flow projection of a log under a result, which is what discovery reads: the same as
reflow_flow_projection of reflow_tag, without the tagged log in between.
SlimLinkedOCELrequired
ReflowResultrequired
Option<String>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')
result = r4pm.import_item('ReflowResult', 'result.json')
res = r4pm.bindings.reflow_flow_log(ocel, result)
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
r4pm.export_item(res, 'ocel-out.xml')

process_mining/src/bindings/reflow_bindings.rs:75

reflow_flow_projection

bindings::reflow_bindingsSource
The flowing participations of a tagged log, which is what discovery reads.
SlimLinkedOCELrequired
Option<String>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_flow_projection(ocel)
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
r4pm.export_item(res, 'ocel-out.xml')

process_mining/src/bindings/reflow_bindings.rs:84

reflow_full_projection

bindings::reflow_bindingsSource
Every participation of a tagged log, with the ! prefix dropped.
SlimLinkedOCELrequired
Option<String>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_full_projection(ocel)
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
r4pm.export_item(res, 'ocel-out.xml')

process_mining/src/bindings/reflow_bindings.rs:90

reflow_tag

bindings::reflow_bindingsSource
Tag a log with a result's flow layer: non-flow participations get the ! qualifier prefix,
participations added by expansion the qualifier +.
SlimLinkedOCELrequired
ReflowResultrequired
Option<String>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')
result = r4pm.import_item('ReflowResult', 'result.json')
res = r4pm.bindings.reflow_tag(ocel, result)
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
r4pm.export_item(res, 'ocel-out.xml')

process_mining/src/bindings/reflow_bindings.rs:68

reflow_untag

bindings::reflow_bindingsSource
The log a tagged log tags: added participations removed and the ! prefix dropped.
SlimLinkedOCELrequired
Option<String>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_untag(ocel)
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
r4pm.export_item(res, 'ocel-out.xml')

process_mining/src/bindings/reflow_bindings.rs:96

reflow_with_flow_layer

bindings::reflow_bindingsSource
A result for another flow layer of the same log, e.g., an edited one, repaired so that every
recorded cell of an ordering flows or is determined.
ReflowResultrequired
Vec<ReflowCellRef>required
Option<String>Store the result under this id instead of a generated one.
import r4pm

result = r4pm.import_item('ReflowResult', 'result.json')
flow = [{"activity": 'example', "objectType": 'example'}]
res = r4pm.bindings.reflow_with_flow_layer(result, flow)
r4pm.export_item(res, 'output.json')

process_mining/src/bindings/reflow_bindings.rs:56

All Functions (including submodules)(11 total)