The function prints a string of efficiency criteria to the console and highlights the color of the considered efficiency criteria. Effectively it is a wrapper around multiple calls to cat.

print_efficiency_criteria(
  iter,
  values,
  criteria,
  digits = 4,
  padding = 10,
  efficiency_criteria
)

Arguments

iter

An integer giving the iteration of the loop

values

The value of the efficiency criteria obtained by calculate_efficiency_criteria

criteria

A character string with the name of the efficiency criteria. See manual for valid values

digits

The nubmer of digits to round the printed value to. The default is 4.

padding

An integer specifying the padding of each column element. Default value is 10.

efficiency_criteria

The criteria that we optimize over

Value

A character string.