Determine the number of CPU cores the scoring functions should use when computing the distance scores.

.getNumberCores(n_cores = NULL)

Arguments

n_cores

numeric, number of cores to use for the function. Defaults to Null in which case the function takes half of the available cores.

Value

Number of CPU cores to be used.