pm4py.objects.petri_net package¶
Subpackages¶
- pm4py.objects.petri_net.data_petri_nets package
- pm4py.objects.petri_net.exporter package
- pm4py.objects.petri_net.importer package
- pm4py.objects.petri_net.inhibitor_reset package
- pm4py.objects.petri_net.utils package
- Submodules
- pm4py.objects.petri_net.utils.align_utils module
- pm4py.objects.petri_net.utils.check_soundness module
- pm4py.objects.petri_net.utils.consumption_matrix module
- pm4py.objects.petri_net.utils.decomposition module
- pm4py.objects.petri_net.utils.embed_stochastic_map module
- pm4py.objects.petri_net.utils.explore_path module
- pm4py.objects.petri_net.utils.final_marking module
- pm4py.objects.petri_net.utils.incidence_matrix module
- pm4py.objects.petri_net.utils.initial_marking module
- pm4py.objects.petri_net.utils.networkx_graph module
- pm4py.objects.petri_net.utils.performance_map module
- pm4py.objects.petri_net.utils.petri_utils module
- pm4py.objects.petri_net.utils.projection module
- pm4py.objects.petri_net.utils.reachability_graph module
- pm4py.objects.petri_net.utils.reduction module
- pm4py.objects.petri_net.utils.synchronous_product module
- Module contents
Submodules¶
pm4py.objects.petri_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.petri_net.obj.PetriNet(name=None, places=None, transitions=None, arcs=None, properties=None)[source]¶ Bases:
object-
class
Arc(source, target, weight=1, properties=None)[source]¶ Bases:
object-
properties¶
-
source¶
-
target¶
-
weight¶
-
-
class
Place(name, in_arcs=None, out_arcs=None, properties=None)[source]¶ Bases:
object-
in_arcs¶
-
name¶
-
out_arcs¶
-
properties¶
-
-
class
Transition(name, label=None, in_arcs=None, out_arcs=None, properties=None)[source]¶ Bases:
object-
in_arcs¶
-
label¶
-
name¶
-
out_arcs¶
-
properties¶
-
-
arcs¶
-
name¶
-
places¶
-
properties¶
-
transitions¶
-
class
pm4py.objects.petri_net.properties 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.petri_net.sem_interface 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.petri_net.semantics 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.petri_net.semantics.ClassicSemantics[source]¶ Bases:
pm4py.objects.petri_net.sem_interface.Semantics-
enabled_transitions(pn, m, **kwargs)[source]¶ Returns a set of enabled transitions in a Petri net and given marking
Parameters: - param pn: Petri net
- param m: marking of the pn
Returns: Return type: return: set of enabled transitions
-
execute(t, pn, m, **kwargs)[source]¶ Executes a given transition in a given Petri net and Marking
Parameters: - param t: transition to execute
- param pn: Petri net
- param m: marking to use
Returns: Return type: return: newly reached marking if :param t: is enabled, None otherwise
-
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/>.