pm4py.objects.transition_system package#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

Submodules#

pm4py.objects.transition_system.constants module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

pm4py.objects.transition_system.obj module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

class pm4py.objects.transition_system.obj.TransitionSystem(name=None, states=None, transitions=None)[source]#

Bases: object

class State(name, incoming=None, outgoing=None, data=None)[source]#

Bases: object

property name#
property incoming#
property outgoing#
property data#
class Transition(name, from_state, to_state, data=None)[source]#

Bases: object

property name#
property from_state#
property to_state#
property data#
property name#
property states#
property transitions#

pm4py.objects.transition_system.utils module#

PM4Py – A Process Mining Library for Python

Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

pm4py.objects.transition_system.utils.add_arc_from_to(name, fr, to, ts, data=None)[source]#

Adds a transition from a state to another state in some transition system. Assumes from and to are in the transition system!

Parameters#

name: name of the transition fr: state from to: state to ts: transition system to use data: data associated to the Transition System

Returns#

None

pm4py.objects.transition_system.utils.remove_arc_from_to(name, fr, to, ts)[source]#

Removes a transition with a specific name from a state to another state in some transition system. Assumes from and to are in the transition system!

Parameters#

name: name of the transition fr: state from to: state to ts: transition system to use

Returns#

None

pm4py.objects.transition_system.utils.remove_all_arcs_from_to(fr, to, ts)[source]#

Removes all transitions from a state to another state in some transition system. Assumes from and to are in the transition system!

Parameters#

fr: state from to: state to ts: transition system to use

Returns#

None

pm4py.objects.transition_system.utils.transitive_reduction(ts)[source]#

Computes the transitive reduction of an acyclic transition system. Assumes the transition system in input to be acyclic.

Parameters#

ts: acyclic transition system to use

Returns#

None