pm4py.algo.transformation.ocel.graphs package

Submodules

pm4py.algo.transformation.ocel.graphs.object_cobirth_graph module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.algo.transformation.ocel.graphs.object_cobirth_graph.apply(ocel: pm4py.objects.ocel.obj.OCEL, parameters: Optional[Dict[Any, Any]] = None) Set[Tuple[str, str]][source]

Calculates the object cobirth graph. This is calculated as follows:

  • Given the set of objects related to an event, they belong to two different categories:
    • The “seen” objects (they have appeared in some earlier event)

    • The “unseen” objects (they appear for the first time in the current event).

  • Every “unseen” object is connected to every “unseen” object

Parameters
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm

Returns

Object cobirth graph (undirected)

Return type

object_cobirth_graph

pm4py.algo.transformation.ocel.graphs.object_codeath_graph module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.algo.transformation.ocel.graphs.object_codeath_graph.apply(ocel: pm4py.objects.ocel.obj.OCEL, parameters: Optional[Dict[Any, Any]] = None) Set[Tuple[str, str]][source]

Calculates the object codeath graph.

This is calculated like the object cobirth graph, but visiting the list of events in the reverse order.

Parameters
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm

Returns

Object codeath graph (undirected)

Return type

object_codeath_graph

pm4py.algo.transformation.ocel.graphs.object_descendants_graph module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.algo.transformation.ocel.graphs.object_descendants_graph.apply(ocel: pm4py.objects.ocel.obj.OCEL, parameters: Optional[Dict[Any, Any]] = None) Set[Tuple[str, str]][source]

Calculates the object descendant graph. This is calculated as follows: - Given the set of objects related to an event, they belong to two different categories:

  • The “seen” objects (they have appeared in some earlier event)

  • The “unseen” objects (they appear for the first time in the current event).

  • Every “seen” object is connected to every “unseen” object.

Parameters
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm

Returns

Object descendant graph (directed)

Return type

object_descendant_graph

pm4py.algo.transformation.ocel.graphs.object_inheritance_graph module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.algo.transformation.ocel.graphs.object_inheritance_graph.apply(ocel: pm4py.objects.ocel.obj.OCEL, parameters: Optional[Dict[Any, Any]] = None) Set[Tuple[str, str]][source]

Calculates the object descendants graph. Two objects o1 and o2, both related to an event e, are connected if: - e is the last event of the lifecycle of o1 - e is the first event of the lifecycle of o2

Parameters
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm

Returns

Object inheritance graph (directed)

Return type

object_inheritance_graph

pm4py.algo.transformation.ocel.graphs.object_interaction_graph module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.algo.transformation.ocel.graphs.object_interaction_graph.apply(ocel: pm4py.objects.ocel.obj.OCEL, parameters: Optional[Dict[Any, Any]] = 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

Module contents

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.