pm4py.algo.transformation.ocel.graphs.object_interaction_graph module#
- pm4py.algo.transformation.ocel.graphs.object_interaction_graph.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None) Set[Tuple[str, str]][source]#
Calculates the object interaction graph. Two objects are connected iff they are both related to an event of the OCEL.
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the algorithm
- Returns:
Object interaction graph (as set of tuples; undirected)
- Return type:
object_interaction_graph