Description Usage Arguments Value
The OptState
is generated internally by doTheEvolution
,
but it is exposed to the user in some cases. E.g., self-defined actions or
stopping conditions get the current OptState
passed as an argument.
The following collection of simple getter functions helps to access the
properties of the optimization state.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | getOptStateCurrentIter(opt.state)
getOptStateTask(opt.state)
getOptStateParamSet(opt.state)
getOptStateCurrentEvaluations(opt.state)
getOptStateControl(opt.state)
getOptStateBestIndividual(opt.state)
getOptStatePopulation(opt.state)
getOptStateFitness(opt.state)
getOptStateTimePassed(opt.state)
getOptStateOptPath(opt.state)
|
opt.state |
[ |
[any] Type depends on the property.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.