ocpa.algo.util.variants.versions package

Subpackages

Submodules

ocpa.algo.util.variants.versions.onephase module

ocpa.algo.util.variants.versions.onephase.apply(ocel, parameters)

Determining variants in the naive approach by performing a one-to-one isomorphism comparison between process executions. Calling this method is usually integrated in the OCEL class and is specified in the parameters usually set when importing the OCEL in CSV importer or JSONOCEL importer or JSONXML importer.

Parameters
  • ocel (OCEL) – Object-centric event log

  • parameters (: Dict) – Parameters for the method. Keys contain: - “timeout” in s for aborting variant calculation

Returns

variants, v_freq_list, variant_graphs, variants_dict

ocpa.algo.util.variants.versions.twophase module

ocpa.algo.util.variants.versions.twophase.apply(ocel, parameters)

Determining variants in the two-phase approach by calculating lexicographical respresentation of process executions and, subsequently, refining the calsses through one-to-one isomorphism comparisons. The exact calculation with refinement can be enforced through setting the parameters. Calling this method is usually integrated in the OCEL class and is specified in the parameters usually set when importing the OCEL in CSV importer or JSONOCEL importer or JSONXML importer.

Parameters
  • ocel (OCEL) – Object-centric event log

  • parameters (: Dict) – Parameters for the method. Keys contain: - “timeout” in s for aborting variant calculation - “exact_variant_calculation” boolean for enforcing the refinement of initial classes (exact isomorphism calculation, initial classes might not be exact)

Returns

variants, v_freq_list, variant_graphs, variants_dict

Module contents