oc_declare_conformance
Returns 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)
Returns a value from 0.0 (all source events violate this constraint) to 1.0 (all source events satisfy this constraint)
Arguments
Returns
import r4pm
ocel = r4pm.import_item('SlimLinkedOCEL','path/to/file')
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)