pm4py.algo.discovery.causal package

Submodules

pm4py.algo.discovery.causal.algorithm module

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

Bases: enum.Enum

An enumeration.

CAUSAL_ALPHA = <module 'pm4py.algo.discovery.causal.variants.alpha' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\causal\\variants\\alpha.py'>
CAUSAL_HEURISTIC = <module 'pm4py.algo.discovery.causal.variants.heuristic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\causal\\variants\\heuristic.py'>
pm4py.algo.discovery.causal.algorithm.apply(dfg, variant=<Variants.CAUSAL_ALPHA: <module 'pm4py.algo.discovery.causal.variants.alpha' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\algo\\discovery\\causal\\variants\\alpha.py'>>)[source]

Computes the causal relation on the basis of a given directly follows graph.

Parameters
  • dfg – Directly follows graph

  • variant

    Variant of the algorithm to use:
    • Variants.CAUSAL_ALPHA

    • Variants.CAUSAL_HEURISTIC

Returns

dict

Return type

causal relations

Module contents