bindings::reflow_bindings Source 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.
Argument Type
output_idOption<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
bindings::reflow_bindings Source The object-centric Petri net of an annotated net, as a handle for other bindings.
Argument Type
output_idOption<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
bindings::reflow_bindings Source The cells of a result with their states, and its counts.
Returns ReflowSummary The cells and counts of a [`ReflowResult`]. import r4pm
result = r4pm . import_item ( 'ReflowResult' , 'result.json' )
res = r4pm . bindings . reflow_cells ( result ) process_mining/src/bindings/reflow_bindings.rs:44
bindings::reflow_bindings Source The flow projection of a log under a result, which is what discovery reads: the same asreflow_flow_projection of reflow_tag, without the tagged log in between.
Argument Type
output_idOption<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
bindings::reflow_bindings Source The flowing participations of a tagged log, which is what discovery reads.
Argument Type
output_idOption<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
bindings::reflow_bindings Source Every participation of a tagged log, with the ! prefix dropped.
Argument Type
output_idOption<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
bindings::reflow_bindings Source Tag a log with a result's flow layer: non-flow participations get the ! qualifier prefix, participations added by expansion the qualifier +.
Argument Type
output_idOption<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
bindings::reflow_bindings Source The log a tagged log tags: added participations removed and the ! prefix dropped.
Argument Type
output_idOption<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
bindings::reflow_bindings Source 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.
Argument Type
output_idOption<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