conformance: Conformance between an Event Log and a Petri net

conformanceR Documentation

Conformance between an Event Log and a Petri net

Description

Conformance between an Event Log and a Petri net

Usage

conformance_alignment(
  eventlog,
  petrinet,
  initial_marking,
  final_marking,
  parameters = default_parameters(eventlog),
  variant = variant_state_equation_a_star(),
  convert = TRUE
)

variant_state_equation_a_star()

variant_dijkstra_no_heuristics()

Arguments

eventlog

A bupaR or PM4PY event log.

petrinet

A bupaR or PM4PY Petri net.

initial_marking

A R vector with the place identifiers of the initial marking or a PM4PY marking. By default the initial marking of the bupaR Petri net will be used if available.

final_marking

A R vector with the place identifiers of the final marking or a PM4PY marking.

parameters

PM4PY conformance parameter. By default the activity_key from the bupaR event log is specified using param_activity_key.

variant

The conformance variant to be used.

convert

TRUE to automatically convert Python objects to their R equivalent. If you pass FALSE you can do manual conversion using the r-py-conversion function.

Value

A data frame describing the conformance result. In case of conformance_alignment a data frame of log and model moves.


fmannhardt/pm4py documentation built on July 21, 2023, 10:55 p.m.