# pm4py.streaming.algo.discovery.dfg package

## pm4py.streaming.algo.discovery.dfg.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.streaming.algo.discovery.dfg.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

FREQUENCY = <module 'pm4py.streaming.algo.discovery.dfg.variants.frequency' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\streaming\\algo\\discovery\\dfg\\variants\\frequency.py'>
pm4py.streaming.algo.discovery.dfg.algorithm.apply(variant=Variants.FREQUENCY, parameters=None)[source]

Discovers a DFG from an event stream

Parameters

variant – Variant of the algorithm (default: Variants.FREQUENCY)

Returns

Streaming DFG discovery object

Return type

stream_dfg_obj