pm4py.algo.simulation.playout.oc_causal_net.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.oc_causal_net.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'#
- OBJECTS_UNIQUE_PER_SEQUENCE = 'objects_unique_per_sequence'#
- RETURN_SEQUENCES = 'return_sequences'#
- MAX_BINDINGS_PER_ACTIVITY = 'maxBindingsPerActivity'#
- OCCN_SEMANTICS = 'occn_semantics'#
- BRANCHING_FACTOR_ACTIVITIES = 'branching_factor_activities'#
- BRANCHING_FACTOR_BINDINGS = 'branching_factor_bindings'#
- class pm4py.algo.simulation.playout.oc_causal_net.variants.extensive.Binding(activity_id, consumed, produced)#
Bases:
tuple- activity_id#
Alias for field number 0
- consumed#
Alias for field number 1
- produced#
Alias for field number 2
- pm4py.algo.simulation.playout.oc_causal_net.variants.extensive.apply(occn: OCCausalNet, objects: dict, parameters: Dict[Any, Any] | None = None) OCEL[source]#
Compute playout of an object-centric causal net generating an OCEL. Extensive search, retrieves all valid binding sequences. Starts by binding start activities with the objects specified and ends in the empty state. The empty sequence is considered a valid sequence no other sequences are found.
- Parameters:
occn – Object-centric causal net to play-out
objects – Dictionary mapping object types to sets of object ids. These objects will be introduced by the start activities of the occn at the beginning of every binding sequence.
parameters –
- Parameters of the algorithm, including:
Parameters.MAX_BINDINGS_PER_ACTIVITY: Maximum number of bindings per activity (mandatory) Parameters.RETURN_SEQUENCES: If True, return an iterator to all possible sequences of bindings instead of an OCEL Parameters.OBJECTS_UNIQUE_PER_SEQUENCE: If True, objects in the resulting OCEL are make unique per sequence (default: False) Parameters.OCCN_SEMANTICS: The semantics to be used for the causal net (default: OCCausalNetSemantics()) Parameters.BRANCHING_FACTOR_ACTIVITIES: Maximum branching factor for exploring enabled activities (default: inf). Note that the play-out will generate a subset of all sequences if this is set. Parameters.BRANCHING_FACTOR_BINDINGS: Maximum branching factor for exploring enabled bindings (default: inf). Note that the play-out will generate a subset of all sequences if this is set.