pm4py.algo.discovery.split_miner.dtypes.rpst_tree module#

PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH

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.algo.discovery.split_miner.dtypes.rpst_tree.Edge(v1, v2, virtual=False)[source]#

Bases: object

v1#
v2#
virtual#
hidden#
id#
other(w)[source]#
set_vertices(v, w)[source]#
is_self_loop()[source]#
class pm4py.algo.discovery.split_miner.dtypes.rpst_tree.Skeleton[source]#

Bases: object

Undirected multigraph; adjacency lists preserve insertion order.

vertices: List#
edges: List[Edge]#
inc: Dict[object, List[Edge]]#
add_vertex(v)[source]#
add_edge(v1, v2, virtual=False)[source]#
add_virtual_edge(v1, v2)[source]#
remove_edge(e: Edge)[source]#
get_edges(v) → List[Edge][source]#
get_edge(v1, v2) → Edge | None[source]#
count_vertices() → int[source]#
vertices_with_edges() → Set[source]#
class pm4py.algo.discovery.split_miner.dtypes.rpst_tree.TCNode(name='')[source]#

Bases: object

boundary: List#
children: List[TCNode]#
pm4py.algo.discovery.split_miner.dtypes.rpst_tree.get_triconnected_components(g: Skeleton, back_edge: Edge)[source]#
class pm4py.algo.discovery.split_miner.dtypes.rpst_tree.RPSTFragment[source]#

Bases: object

boundary: List#
edges: Set[Tuple[object, object]]#
children: List[RPSTFragment]#
pm4py.algo.discovery.split_miner.dtypes.rpst_tree.compute_rpst(directed_edges: List[Tuple[object, object]])[source]#

Compute the RPST of a single-source/single-sink directed graph.

Returns (root_fragment, src, sink) or None when the graph is not biconnected (the reference returns a null root in that case).