All Functions
Browse all 53 available functions in the library.
Add artificial init/exit events to an OCEL
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
Export the image of a [`DirectlyFollowsGraph`] as a PNG file
Export the image of a [`DirectlyFollowsGraph`] as a SVG file
Export the image of a [`PetriNet`] as a PNG file
Export the image of a [`PetriNet`] as a SVG file
Flatten an OCEL on a specific object type, resulting in a case-centric Event Log
Generate dotted chart data from an event log.
Aggregate event timestamps into a fixed number of bins, grouped by activity.
Extract the attribute change history for a specific object.
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.
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).
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`].
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.