project_oc_arcs
discovery::object_centric::oc_declareSourceProject OC-DECLARE arcs onto a subset of activities, preserving constraints
that reach a target via a chain through transitive activities.
BFSs from every target activity through non-target intermediaries, composing
arc types and labels along the way.
that reach a target via a chain through transitive activities.
BFSs from every target activity through non-target intermediaries, composing
arc types and labels along the way.
Vec<OCDeclareArc>required
Vec<String>required
OCDeclareReductionModerequiredMode for reducing OC-DECLARE constraints
import r4pm
arcs = [
{
"arc_type": 'AS',
"counts": [1, 1],
"from": 'example',
"label": {
"all": [{"object_type": 'order', "type": 'Simple'}],
"any": [{"object_type": 'order', "type": 'Simple'}],
"each": [{"object_type": 'order', "type": 'Simple'}],
},
"to": 'example',
},
]
res = r4pm.bindings.project_oc_arcs(arcs, ['example'], 'None')process_mining/src/discovery/object_centric/oc_declare/mod.rs:774