# pm4py.simulation.tree_playout package

## pm4py.simulation.tree_playout.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.simulation.tree_playout.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

BASIC_PLAYOUT = <module 'pm4py.simulation.tree_playout.variants.basic_playout' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\simulation\\tree_playout\\variants\\basic_playout.py'>
EXTENSIVE = <module 'pm4py.simulation.tree_playout.variants.extensive' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\simulation\\tree_playout\\variants\\extensive.py'>
TOPBOTTOM = <module 'pm4py.simulation.tree_playout.variants.topbottom' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\simulation\\tree_playout\\variants\\topbottom.py'>
pm4py.simulation.tree_playout.algorithm.apply(tree, variant=Variants.TOPBOTTOM, parameters=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

Deprecated since version 2.2.5: This will be removed in 3.0. Use the pm4py.algo.simulation.tree_playout package