Description Usage Arguments Value
Creates a fitness function that calculates the squared error of
an individual with respect to a reference function func
.
When an indsizelimit
is given, individuals exceeding this
limit will receive a fitness of Inf
.
1 2 | makeSeSymbolicFitnessFunction(func, lower, upper, subdivisions = 100,
indsizelimit = NA)
|
func |
The reference function. |
lower |
The lower limit of integraion. |
upper |
The upper limit of integraion. |
subdivisions |
The maximum number of subintervals for numeric integration. |
indsizelimit |
Individuals exceeding this size limit will get
a fitness of |
A fitness function based on the reference function func
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.