Provide an interface for tuning SANN.
The interface function receives a matrix where each row is proposed parameter setting (`temp`, `tmax`),
and each column specifies the parameters.
It generates a $(n,1)$-matrix as output, where $n$ is the number of (`temp`, `tmax`) parameter settings.
Usage
sann2spot(algpar, par = c(10, 10), fn, maxit = 100, ...)
Arguments
algpar
matrix algorithm parameters.
par
Initial values for the parameters to be optimized over.
fn
A function to be minimized (or maximized),
with first argument the vector of parameters over which minimization is to take place. It should return a scalar result.
maxit
Total number of function evaluations: there is no other stopping criterion. Defaults to 10000.