Skip to main content

oc_declare

process_mining::conformance::object_centric::oc_declare

Functions in this Module(1)

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)
Source
fn oc_declare_conformance(ocel*: SlimLinkedOCEL, arc*: OCDeclareArc)f64

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)