Skip to main content

oc_declare

process_mining::discovery::object_centric::oc_declare

Functions in this Module(1)

discover_oc_declare

Discover behavioral OC-DECLARE constraints from the given OCEL
Source
fn discover_oc_declare(locel*: SlimLinkedOCEL, options: OCDeclareDiscoveryOptions)Vec<OCDeclareArc>

Arguments

Returns

import r4pm
locel = r4pm.import_item('SlimLinkedOCEL','path/to/file')
# Optional argument: options, can also be omitted
options = {"considered_arrow_types": ['AS'], "counts_for_filter": [1, 1], "counts_for_generation": [1, 1], "noise_threshold": 0.2, "o2o_mode": 'None', "reduction": 'None', "refinement": False}
res = r4pm.bindings.discover_oc_declare(locel, options)