pm4py.algo.simulation.playout.ocpn.variants.extensive 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.simulation.playout.ocpn.variants.extensive.Parameters(*values)[source]#
Bases:
Enum- EVENT_ID = 'param:event:id'#
- EVENT_ACTIVITY = 'param:event:activity'#
- EVENT_TIMESTAMP = 'param:event:timestamp'#
- OBJECT_ID = 'param:object:id'#
- OBJECT_TYPE = 'param:object:type'#
- MAX_BINDINGS_PER_ACTIVITY = 'maxBindingsPerActivity'#
- BRANCHING_FACTOR_TRANSITIONS = 'branchingFactorTransitions'#
- BRANCHING_FACTOR_BINDINGS = 'branchingFactorBindings'#
- OBJECTS_UNIQUE_PER_TRACE = 'objects_unique_per_trace'#
- RETURN_TRACES = 'return_traces'#
- EXISTS_TRACE = 'exists_trace'#
- OCPETRINET_SEMANTICS = 'ocpetrinet_semantics'#
- IS_FINAL_FUNC = 'is_final_func'#
- pm4py.algo.simulation.playout.ocpn.variants.extensive.apply(net: OCPetriNet, initial_marking: OCMarking, final_marking: OCMarking, parameters: Dict[str | Parameters, Any] | None = None) OCEL[source]#
Compute playout of an object-centric Petri net generating an OCEL (extensive search; any activity may only be executed a limited number of times as specified). Uses an optimized Memoized DFS Graph Population algorithm.
- Parameters:
net – Object-centric Petri net to play-out
initial_marking – Initial marking of the object-centric Petri net
final_marking – Final marking of the object-centric Petri net
parameters – Parameters of the algorithm:
Parameters.MAX_BINDINGS_PER_ACTIVITY -> Maximum bindings per activity (mandatory)
Parameters.EXISTS_TRACE -> If True, return a boolean indicating if at least one trace exists instead of an OCEL
Parameters.OBJECTS_UNIQUE_PER_TRACE: If True, objects in the resulting OCEL are make unique per trace (default: False)
Parameters.RETURN_TRACES -> If True, return traces instead of OCEL
Parameters.BRANCHING_FACTOR_TRANSITIONS -> Maximum number of transitions to explore from a single state (default: sys.maxsize, i.e., no limit). If set to a float, it will be stochastically rounded to an integer for every state.
Parameters.BRANCHING_FACTOR_BINDINGS -> Maximum number of bindings to explore for a single transition (default: sys.maxsize, i.e., no limit). If set to a float, it will be stochastically rounded to an integer for every state.
Parameters.OCPETRINET_SEMANTICS -> Object-centric Petri net semantics
Parameters.IS_FINAL_FUNC -> Function that given a marking and the final marking returns whether the final marking is reached. (default: marking == final_marking)