This function is an example on how EvoPER can be used for estimating the parameter values in order to produce oscilations with the desired period.
f0.periodtuningpp48(x1, x2, x3, x4)
The growth rate of prey
The decay rate of predator
The predating effect on prey
The predating effecto on predator
The solution fitness cost
# NOT RUN {
rm(list=ls())
set.seed(-27262565)
f<- PlainFunction$new(f0.periodtuningpp24)
f$Parameter(name="x1",min=0.5,max=2)
f$Parameter(name="x2",min=0.5,max=2)
f$Parameter(name="x3",min=0.5,max=2)
f$Parameter(name="x4",min=0.5,max=2)
extremize("pso", f)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab