oc_declare_conformance
conformance::object_centric::oc_declareSourceReturns the confidence conformance of an OC-DECLARE arc on the given OCEL
Returns a value from 0.0 (all source events violate this constraint) to 1.0 (all source events
satisfy this constraint). Without any source events, the constraint is vacuously satisfied and
this returns 1.0.
Returns a value from 0.0 (all source events violate this constraint) to 1.0 (all source events
satisfy this constraint). Without any source events, the constraint is vacuously satisfied and
this returns 1.0.
SlimLinkedOCELrequired
OCDeclareArcrequiredOC-DECLARE Constraint arc/edge between two nodes (i.e., activities)
import r4pm
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
arc = {
"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.oc_declare_conformance(ocel, arc)process_mining/src/conformance/object_centric/oc_declare.rs:333