All Functions
Browse all 72 available functions in the library.
Add artificial init/exit events to an OCEL
Align the empty trace to the given model
Compute alignment for a single trace (given as activity sequence).
Compute alignments for all variants from a pre-computed activity projection.
Compute fitness stats from alignment results
Discover a [`PetriNet`] using the Alpha+++ Process Discovery algorithm
Discover [`DirectlyFollowsGraph`] with default classifier
Construct an [`OCDirectlyFollowsGraph`] from an OCEL
Discover behavioral OC-DECLARE constraints from the given OCEL
Flatten an OCEL on a specific object type, resulting in a case-centric Event Log
Get the directly-follows graph (DFG) for objects of the given object type.
Generate dotted chart data from an event log.
Aggregate event timestamps into a fixed number of bins, grouped by activity.
Get the total number of cases in the projection
Get the number of distinct trace variants in the projection
Get the activity trace of an object (i.e., the sequence of event types connected to the object, ordered by event timestamp)
Extract the attribute change history for a specific object.
Get the list of all activity names in the projection
Get the `n` most frequent process variants, sorted by frequency (descending)
Get all process variants, sorted by frequency (descending)
Get all activity-trace variants for objects of the given object type, with their occurrence counts
Convert an [`OCEL`] to an [`IndexLinkedOCEL`]
Add an E2O (event-to-object) relationship with the given qualifier.
Add an event and return its [`EventIndex`].
Add an event type with the given ordered attribute declarations.
Add a directed O2O (object-to-object) relationship from `from_obj` to `to_obj` with the given qualifier.
Add an object and return its [`ObjectIndex`].
Add an object type with the given ordered attribute declarations.
Reconstruct a full [`OCEL`] from a [`SlimLinkedOCEL`]. Can be expensive for large logs.
Conversion rate from `source_type` to `target_type` via O2O, restricted to targets touched by `activity`.
Remove all E2O relationships between the given event and object (across every qualifier).
Remove all O2O relationships from `from_obj` to `to_obj` (across every qualifier).
Count E2O relationships per `(event_type, object_type)` pair.
Get the E2O relationships of an event as `(qualifier, object_index)` pairs.
Get the reverse E2O relationships of an object (events relating to it) as `(qualifier, event_index)` pairs.
Get the value of an event attribute by name. `None` if the attribute does not exist.
Look up an event by its ID string. `None` if not found.
Get the ID string of an event. Panics if the index is out of bounds.
Get the timestamp of an event. Panics if the index is out of bounds.
Get the event type specification (name + attributes), or `None` if unknown.
Get the event type (activity) of an event. Panics if the index is out of bounds.
Get all declared event type names, in declaration order.
Get all event indices of the given event type. Empty if unknown.
Get the full [`OCELEvent`] (resolved type name, named attributes, string object IDs).
Get the full [`OCELObject`] (resolved type name, named time-indexed attributes, string object IDs).
Get the outgoing O2O relationships of an object as `(qualifier, object_index)` pairs.
Get the reverse O2O relationships of an object (objects with an O2O to it) as `(qualifier, object_index)` pairs.
Get the time-indexed history of an object attribute by name as `(timestamp, value)` pairs. Empty if absent.
Look up an object by its ID string. `None` if not found.
Get the ID string of an object. Panics if the index is out of bounds.
Get the object type specification (name + attributes), or `None` if unknown.
Get the object type of an object. Panics if the index is out of bounds.
Get all declared object type names, in declaration order.
Get all object indices of the given object type. Empty if unknown.
Create a new empty [`SlimLinkedOCEL`].
Per-event sojourn time.
Per-event synchronization time and the delaying object.
Convert an [`EventLog`] into an [`EventLogActivityProjection`]
Get the number of events in an [`OCEL`]
Get the number of objects in an [`OCEL`]
Returns the confidence conformance of an OC-DECLARE arc on the given OCEL
Compute statistics on object/event types in the OCEL
Convert an [`OCEL`] to an [`SlimLinkedOCEL`]
This is a test function.