detect_batching: Detect Batch Behavior in a Task Log

Description Usage Arguments

View source: R/bama_detection.R

Description

Detect batch behavior using the Bama algorithm based on a plain task log.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
detect_batching(
  task_log,
  act_seq_tolerated_gap_list,
  timestamp_format = "yyyy-mm-dd hh:mm:ss",
  numeric_timestamps = TRUE,
  log_and_model_based,
  subsequence_list,
  subsequence_type,
  within_case_seq_tolerated_gap = 0,
  between_cases_seq_tolerated_gap = 0,
  show_progress = T
)

Arguments

task_log

The task log containing task or activity instances.

act_seq_tolerated_gap_list

List containing the tolerated time gap for a particular each activity (used for sequential batching detection)

timestamp_format

Format in which the timestamps are specified

numeric_timestamps

Boolean indicating whether timestamps are expressed numerically (instead of in POSIXct format)

log_and_model_based

Boolean indicating whether a notion of the process model is present (i.e. whether arrival times are contained in the activity log)

subsequence_list

List of subsequences for which case-based sequential/concurrent batching needs to be checked

subsequence_type

Reflects the way in which subsequences are generated: by enumeration (enum) or using a sequence mining method (mine)

within_case_seq_tolerated_gap

Tolerated time gap to detect sequential batching between activities within a particular case

between_cases_seq_tolerated_gap

Tolerated time gap to detect sequential batching between (aggregated) activities over several cases

show_progress

Whether to show a progress bar in the console.


nielsmartin/bama documentation built on June 12, 2020, 6:04 p.m.