pm4py.objects.heuristics_net package
Submodules
pm4py.objects.heuristics_net.defaults 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.heuristics_net.edge 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.heuristics_net.net 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.heuristics_net.node 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.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_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)
- 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)
- 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_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_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
pm4py.objects.heuristics_net.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.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
- calculate(dependency_thresh=0.5, and_measure_thresh=0.65, min_act_count=1, min_dfg_occurrences=1, dfg_pre_cleaning_noise_thresh=0.05, loops_length_two_thresh=0.5, parameters=None)[source]
Calculate the dependency matrix, populate the nodes
- Parameters
dependency_thresh – (Optional) dependency threshold
and_measure_thresh – (Optional) AND measure threshold
min_act_count – (Optional) minimum number of occurrences of an activity
min_dfg_occurrences – (Optional) minimum dfg occurrences
dfg_pre_cleaning_noise_thresh – (Optional) DFG pre cleaning noise threshold
loops_length_two_thresh – (Optional) loops length two threshold
parameters – Other parameters of the algorithm
Deprecated since version 2.2.5: This will be removed in 3.0.0. please use the calculate method in algorithm package.
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/>.