Skip to main content
Back to Docs

All Functions

Browse all 53 available functions in the library.

Showing 53 of 53 functions
add_init_exit_events_to_ocelin utils::init_exit_events

Add artificial init/exit events to an OCEL

discover_alpha+++in alphappp::full

Discover a [`PetriNet`] using the Alpha+++ Process Discovery algorithm

discover_dfgin case_centric::dfg

Discover [`DirectlyFollowsGraph`] with default classifier

discover_dfg_from_ocelin ocdfg::object_centric_dfg_struct

Construct an [`OCDirectlyFollowsGraph`] from an OCEL

discover_oc_declarein object_centric::oc_declare

Discover behavioral OC-DECLARE constraints from the given OCEL

export_dfg_image_pngin dfg::image_export

Export the image of a [`DirectlyFollowsGraph`] as a PNG file

export_dfg_image_svgin dfg::image_export

Export the image of a [`DirectlyFollowsGraph`] as a SVG file

export_dfg_pngin image_export::private
export_petri_net_image_pngin petri_net::image_export

Export the image of a [`PetriNet`] as a PNG file

export_petri_net_image_svgin petri_net::image_export

Export the image of a [`PetriNet`] as a SVG file

flatten_ocel_onin utils::flatten

Flatten an OCEL on a specific object type, resulting in a case-centric Event Log

get_dotted_chartin case_centric::dotted_chart

Generate dotted chart data from an event log.

get_event_timestampsin case_centric::event_timestamp_histogram

Aggregate event timestamps into a fixed number of bins, grouped by activity.

get_object_attribute_changesin object_centric::object_attribute_changes

Extract the attribute change history for a specific object.

index_link_ocelin process_mining::bindings

Convert an [`OCEL`] to an [`IndexLinkedOCEL`]

locel_add_e2oin bindings::slim_ocel_bindings

Add an E2O (event-to-object) relationship with the given qualifier.

locel_add_eventin bindings::slim_ocel_bindings

Add an event and return its [`EventIndex`].

locel_add_event_typein bindings::slim_ocel_bindings

Add an event type with the given ordered attribute declarations.

locel_add_o2oin bindings::slim_ocel_bindings

Add a directed O2O (object-to-object) relationship from `from_obj` to `to_obj` with the given qualifier.

locel_add_objectin bindings::slim_ocel_bindings

Add an object and return its [`ObjectIndex`].

locel_add_object_typein bindings::slim_ocel_bindings

Add an object type with the given ordered attribute declarations.

locel_construct_ocelin bindings::slim_ocel_bindings

Reconstruct a full [`OCEL`] from a [`SlimLinkedOCEL`]. Can be expensive for large logs.

locel_delete_e2oin bindings::slim_ocel_bindings

Remove all E2O relationships between the given event and object (across every qualifier).

locel_delete_o2oin bindings::slim_ocel_bindings

Remove all O2O relationships from `from_obj` to `to_obj` (across every qualifier).

locel_get_e2oin bindings::slim_ocel_bindings

Get the E2O relationships of an event as `(qualifier, object_index)` pairs.

locel_get_e2o_revin bindings::slim_ocel_bindings

Get the reverse E2O relationships of an object (events relating to it) as `(qualifier, event_index)` pairs.

locel_get_ev_attr_valin bindings::slim_ocel_bindings

Get the value of an event attribute by name. `None` if the attribute does not exist.

locel_get_ev_by_idin bindings::slim_ocel_bindings

Look up an event by its ID string. `None` if not found.

locel_get_ev_idin bindings::slim_ocel_bindings

Get the ID string of an event. Panics if the index is out of bounds.

locel_get_ev_timein bindings::slim_ocel_bindings

Get the timestamp of an event. Panics if the index is out of bounds.

locel_get_ev_typein bindings::slim_ocel_bindings

Get the event type specification (name + attributes), or `None` if unknown.

locel_get_ev_type_ofin bindings::slim_ocel_bindings

Get the event type (activity) of an event. Panics if the index is out of bounds.

locel_get_ev_typesin bindings::slim_ocel_bindings

Get all declared event type names, in declaration order.

locel_get_evs_of_typein bindings::slim_ocel_bindings

Get all event indices of the given event type. Empty if unknown.

locel_get_full_evin bindings::slim_ocel_bindings

Get the full [`OCELEvent`] (resolved type name, named attributes, string object IDs).

locel_get_full_obin bindings::slim_ocel_bindings

Get the full [`OCELObject`] (resolved type name, named time-indexed attributes, string object IDs).

locel_get_o2oin bindings::slim_ocel_bindings

Get the outgoing O2O relationships of an object as `(qualifier, object_index)` pairs.

locel_get_o2o_revin bindings::slim_ocel_bindings

Get the reverse O2O relationships of an object (objects with an O2O to it) as `(qualifier, object_index)` pairs.

locel_get_ob_attr_valsin bindings::slim_ocel_bindings

Get the time-indexed history of an object attribute by name as `(timestamp, value)` pairs. Empty if absent.

locel_get_ob_by_idin bindings::slim_ocel_bindings

Look up an object by its ID string. `None` if not found.

locel_get_ob_idin bindings::slim_ocel_bindings

Get the ID string of an object. Panics if the index is out of bounds.

locel_get_ob_typein bindings::slim_ocel_bindings

Get the object type specification (name + attributes), or `None` if unknown.

locel_get_ob_type_ofin bindings::slim_ocel_bindings

Get the object type of an object. Panics if the index is out of bounds.

locel_get_ob_typesin bindings::slim_ocel_bindings

Get all declared object type names, in declaration order.

locel_get_obs_of_typein bindings::slim_ocel_bindings

Get all object indices of the given object type. Empty if unknown.

locel_newin bindings::slim_ocel_bindings

Create a new empty [`SlimLinkedOCEL`].

log_to_activity_projectionin utils::activity_projection

Convert an [`EventLog`] into an [`EventLogActivityProjection`]

num_eventsin process_mining::bindings

Get the number of events in an [`OCEL`]

num_objectsin process_mining::bindings

Get the number of objects in an [`OCEL`]

oc_declare_conformancein object_centric::oc_declare

Returns the confidence conformance of an OC-DECLARE arc on the given OCEL

ocel_type_statsin process_mining::bindings

Compute statistics on object/event types in the OCEL

slim_link_ocelin process_mining::bindings

Convert an [`OCEL`] to an [`SlimLinkedOCEL`]

test_some_inputsin process_mining::bindings

This is a test function.