pm4py.algo.conformance.footprints.algorithm module#

class pm4py.algo.conformance.footprints.algorithm.Variants(*values)[source]#

Bases: Enum

LOG_MODEL = <module 'pm4py.algo.conformance.footprints.variants.log_model' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/algo/conformance/footprints/variants/log_model.py'>#
LOG_EXTENSIVE = <module 'pm4py.algo.conformance.footprints.variants.log_extensive' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/algo/conformance/footprints/variants/log_extensive.py'>#
TRACE_EXTENSIVE = <module 'pm4py.algo.conformance.footprints.variants.trace_extensive' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/algo/conformance/footprints/variants/trace_extensive.py'>#
pm4py.algo.conformance.footprints.algorithm.apply(log_footprints: Dict[str, Any] | List[Dict[str, Any]], model_footprints: Dict[str, Any], variant=Variants.LOG_MODEL, parameters: Dict[Any, Any] | None = None) List[Dict[str, Any]] | Dict[str, Any][source]#

Apply footprints conformance between a log footprints object and a model footprints object

Parameters:
  • log_footprints – Footprints of the log

  • model_footprints – Footprints of the model

  • parameters

    Parameters of the algorithm, including:
    • Parameters.STRICT => strict check of the footprints

Returns:

Set/dictionary of all the violations between the log footprints and the model footprints, OR list of case-per-case violations

Return type:

violations