# pm4py.algo.simulation.playout.process_tree package

## pm4py.algo.simulation.playout.process_tree.algorithm module

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.algo.simulation.playout.process_tree.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

BASIC_PLAYOUT = <module 'pm4py.algo.simulation.playout.process_tree.variants.basic_playout' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\simulation\\playout\\process_tree\\variants\\basic_playout.py'>
EXTENSIVE = <module 'pm4py.algo.simulation.playout.process_tree.variants.extensive' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\simulation\\playout\\process_tree\\variants\\extensive.py'>
TOPBOTTOM = <module 'pm4py.algo.simulation.playout.process_tree.variants.topbottom' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\simulation\\playout\\process_tree\\variants\\topbottom.py'>
pm4py.algo.simulation.playout.process_tree.algorithm.apply(tree: pm4py.objects.process_tree.obj.ProcessTree, variant=Variants.TOPBOTTOM, parameters: Optional[Dict[Any, Any]] = None) [source]

Performs a playout of a process tree

Parameters
• tree – Process tree

• variant – Variant of the algorithm: - Variants.BASIC_PLAYOUT: basic playout - Variants.EXTENSIVE: extensive playout (all the possible traces)

• parameters – Parameters of the algorithm