Set metamer parameters

clear_minimize(metamer_list)

clear_minimise(metamer_list)

set_minimise(metamer_list, minimize)

set_minimize(metamer_list, minimize)

get_last_metamer(metamer_list)

set_annealing(metamer_list, annealing)

set_perturbation(metamer_list, perturbation)

set_perturbation(metamer_list, perturbation)

set_start_probability(metamer_list, start_probability)

set_K(metamer_list, K)

set_change(metamer_list, change)

Arguments

metamer_list

A metamer_list object.

minimize

An optional function to minimize in the process. Must take the data as argument and return a single numeric.

annealing

Logical indicating whether to perform annealing.

perturbation

Numeric with the magnitude of the random perturbations. Can be of length 1 or length(change).

start_probability

initial probability of rejecting bad solutions.

K

speed/quality tradeoff parameter.

change

A character vector with the names of the columns that need to be changed.