pm4py.objects.ocel package

Subpackages

Submodules

pm4py.objects.ocel.constants 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.objects.ocel.obj 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/>.

class pm4py.objects.ocel.obj.OCEL(events=None, objects=None, relations=None, globals=None, parameters=None)[source]

Bases: object

get_extended_table(ot_prefix='ocel:type:') pandas.core.frame.DataFrame[source]

Transforms the current OCEL data structure into a Pandas dataframe containing the events with their attributes and the related objects per object type.

get_summary() str[source]

Gets a string summary of the object-centric event log

class pm4py.objects.ocel.obj.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

EVENT_ACTIVITY = 'param:event:activity'
EVENT_ID = 'param:event:id'
EVENT_TIMESTAMP = 'param:event:timestamp'
OBJECT_ID = 'param:object:id'
OBJECT_TYPE = 'param:object:type'

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/>.