pm4py.objects.heuristics_net 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.heuristics_net.defaults 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.heuristics_net.edge 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.heuristics_net.edge.Edge(start_node, end_node, dependency_value, dfg_value, repr_value, label='', repr_color='#000000', edge_type='frequency', net_name='')[source]#

Bases: object

get_color()[source]#

Gets the color to use for the representation

get_font_color()[source]#

Gets the font color to use for the representation

get_penwidth(default)[source]#

Gets the pen width to use for the representation

Parameters#

default

Default value

pm4py.objects.heuristics_net.node 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.heuristics_net.node.Node(heuristics_net, node_name, node_occ, is_start_node=False, is_end_node=False, default_edges_color='#000000', node_type='frequency', net_name='', nodes_dictionary=None)[source]#

Bases: object

add_output_connection(other_node, dependency_value, dfg_value, repr_color=None, repr_value=None)[source]#

Adds an output connection to another node

Parameters#

other_node

Other node

dependency_value

Dependency value

dfg_value

DFG value

repr_color

Color associated to the edge

repr_value

Value associated to the edge (if None, dfg_value is used)

add_input_connection(other_node, dependency_value, dfg_value, repr_color=None, repr_value=None)[source]#

Adds an input connection to another node

Parameters#

other_node

Other node

dependency_value

Dependency value

dfg_value

DFG value

repr_color

Color associated to the edge

repr_value

Value associated to the edge (if None, dfg_value is used)

calculate_and_measure_out(and_measure_thresh='and_measure_thresh')[source]#

Calculate AND measure for output relations (as couples)

Parameters#

and_measure_thresh

AND measure threshold

calculate_and_measure_in(and_measure_thresh='and_measure_thresh')[source]#

Calculate AND measure for input relations (as couples)

Parameters#

and_measure_thresh

AND measure threshold

calculate_loops_length_two(dfg_matrix, freq_triples_matrix, loops_length_two_thresh=0.5)[source]#

Calculate loops of length two

Parameters#

dfg_matrix

DFG matrix

freq_triples_matrix

Matrix of triples

loops_length_two_thresh

Loops length two threshold

get_fill_color(default)[source]#

Gets the fill color for the representation

Parameters#

default

Default value

get_font_color()[source]#

Gets the font color for the representation

pm4py.objects.heuristics_net.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.heuristics_net.obj.HeuristicsNet(frequency_dfg, activities=None, start_activities=None, end_activities=None, activities_occurrences=None, default_edges_color='#000000', performance_dfg=None, dfg_window_2=None, freq_triples=None, net_name='')[source]#

Bases: object