camel6 {atmopt} | R Documentation |
Six-hump discrete test function
Description
A discrete test function constructed from the six-hump camel function in Ali et al. (2005).
Usage
camel6(xx,ntimes,nlev)
Arguments
xx |
A |
ntimes |
Number of duplications for the function (base function is 2D). |
nlev |
A |
Examples
xx <- c(1,2,1,2,1,2) #input factors
nlev <- rep(4,length(xx)) #number of levels for each factor
ntimes <- length(xx)/2 #base function is in 2D, so duplicate 3 times
camel6(xx,ntimes,nlev)
[Package atmopt version 0.1.0 Index]