f0.periodtuningpp12: Period tuning of 12 time units for Predator-Prey

Description Usage Arguments Value Examples

View source: R/test-functions.R

Description

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.

Usage

1
f0.periodtuningpp12(x1, x2, x3, x4)

Arguments

x1

The growth rate of prey

x2

The decay rate of predator

x3

The predating effect on prey

x4

The predating effecto on predator

Value

The solution fitness cost

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
rm(list=ls())
set.seed(-27262565)
f<- PlainFunction$new(f0.periodtuningpp12)
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)

## End(Not run)

antonio-pgarcia/evoper documentation built on Aug. 30, 2020, 10:40 p.m.