pm4py.algo.simulation.playout.process_tree.variants.extensive module#
- class pm4py.algo.simulation.playout.process_tree.variants.extensive.Parameters(*values)[source]#
Bases:
Enum- MIN_TRACE_LENGTH = 'min_trace_length'#
- MAX_TRACE_LENGTH = 'max_trace_length'#
- MAX_LOOP_OCC = 'max_loop_occ'#
- ACTIVITY_KEY = 'pm4py:param:activity_key'#
- MAX_LIMIT_NUM_TRACES = 'max_limit_num_traces'#
- RETURN_SET_STRINGS = 'return_set_strings'#
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout_leaf(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs the playout of a leaf (activity or invisible), returning the traces allowed by the tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout_xor(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs the playout of a XOR node, returning the traces allowed by the tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_min_remaining_length(traces)[source]#
Minimum remaining length (for sequential, parallel cut detection)
- Parameters:
traces – Traces
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_max_remaining_length(traces)[source]#
Maximum remaining length (for sequential, parallel cut detection)
- Parameters:
traces – Traces
- pm4py.algo.simulation.playout.process_tree.variants.extensive.flatten(x)[source]#
Flattens a list of tuples
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_sequential_compositions_children(traces, min_trace_length, max_trace_length, mr, mar, max_limit_num_traces)[source]#
Returns alls the possible sequential combinations between the children of a tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout_parallel(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs the playout of an AND node, returning the traces allowed by the tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout_sequence(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs the playout of a sequence node, returning the traces allowed by the tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout_loop(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs the playout of a loop node, returning the traces allowed by the tree
- pm4py.algo.simulation.playout.process_tree.variants.extensive.get_playout(node, playout_dictio, min_trace_length, max_trace_length, max_loop_occ, min_rem_dict, max_rem_dict, max_limit_num_traces)[source]#
Performs a playout of an ode of the process tree, given the type
- pm4py.algo.simulation.playout.process_tree.variants.extensive.apply(tree: ProcessTree, parameters: Dict[str | Parameters, Any] | None = None) EventLog[source]#
Performs an extensive playout of the process tree
- Parameters:
tree – Process tree
parameters – Possible parameters, including: - Parameters.MIN_TRACE_LENGTH => minimum length of a trace (default: 1) - Parameters.MAX_TRACE_LENGTH => maximum length of a trace (default: min_allowed_trace_length) - Parameters.MAX_LOOP_OCC => maximum number of occurrences for a loop (default: MAX_TRACE_LENGTH) - Parameters.ACTIVITY_KEY => activity key - Parameters.MAX_LIMIT_NUM_TRACES => maximum number to the limit of traces; the playout shall stop when the number is reached (default: 100000)
- Returns:
Event log
- Return type:
log