pm4py.algo.discovery.transition_system package

Submodules

pm4py.algo.discovery.transition_system.algorithm module

class pm4py.algo.discovery.transition_system.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

VIEW_BASED = <module 'pm4py.algo.discovery.transition_system.variants.view_based' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\transition_system\\variants\\view_based.py'>
pm4py.algo.discovery.transition_system.algorithm.apply(log, parameters=None, variant=<Variants.VIEW_BASED: <module 'pm4py.algo.discovery.transition_system.variants.view_based' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\transition_system\\variants\\view_based.py'>>)[source]

Find transition system given log

Parameters
  • log – Log

  • parameters

    Possible parameters of the algorithm, including:

    Parameters.PARAM_KEY_VIEW Parameters.PARAM_KEY_WINDOW Parameters.PARAM_KEY_DIRECTION

  • variant

    Variant of the algorithm to use, including:

    Variants.VIEW_BASED

Returns

Transition system

Return type

ts

pm4py.algo.discovery.transition_system.parameters module

class pm4py.algo.discovery.transition_system.parameters.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
DIRECTIONS = {'backward', 'forward'}
DIRECTION_BACKWARD = 'backward'
DIRECTION_FORWARD = 'forward'
INCLUDE_DATA = 'include_data'
PARAM_KEY_DIRECTION = 'direction'
PARAM_KEY_VIEW = 'view'
PARAM_KEY_WINDOW = 'window'
VIEWS = {'multiset', 'sequence', 'set'}
VIEW_MULTI_SET = 'multiset'
VIEW_SEQUENCE = 'sequence'
VIEW_SET = 'set'

Module contents