cyclicity: Cyclicity

Description Usage Arguments Value Examples

View source: R/metrics.R

Description

Cyclicity is defined as the number of nodes on a cycle divided by the total number of nodes

Usage

1
2
3
cyclicity(file_path, signavio = FALSE,
  path_log_already_created = FALSE, generate_new_path_log = FALSE,
  time_to_generate_path_log = 1500)

Arguments

file_path

document object created using the create_internal_document function

signavio

boolean which indicates whether the file stems from signavio

path_log_already_created

boolean which indicates whether the path log has already been created before or not. When you are not sure, it is best to use the standard which is false

generate_new_path_log

used when it is not possible to save the path log such as with the Rapid miner or in unit tests and examples

time_to_generate_path_log

time which is the maximum time to generate a new path log in seconds. The standard setting is 1500 seconds.

Value

an integer indicating the cyclicity

Examples

1
cyclicity(file_path, generate_new_path_log = TRUE)

understandBPMN documentation built on Sept. 27, 2019, 5:03 p.m.