protected class DEOptim.Solution extends SimpleGridMinimizer.Solution
DEOptim.f, factory, fmin, fminLast, initials, iteration, nNoChanges, xminparallel, population, uniform| Modifier | Constructor and Description |
|---|---|
protected |
Solution(RealScalarFunction f) |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
getChild(int i)
Produce a child chromosome.
|
List<Chromosome> |
getNextGeneration(List<Chromosome> parents,
List<Chromosome> children)
Populate the next generation using the parent and children chromosome pools.
|
getFirstGeneration, isConverged, minimizer, minimum, search, setInitials, stepgetBest, getNewPool, getOne, nChildren, nPopulation, runprotected Solution(RealScalarFunction f)
public List<Chromosome> getNextGeneration(List<Chromosome> parents, List<Chromosome> children)
GeneticAlgorithmgetNextGeneration in class GeneticAlgorithmparents - the parent chromosome poolchildren - the children chromosome poolpublic Chromosome getChild(int i)
GeneticAlgorithmgetChild in class GeneticAlgorithmi - an index that ranges from 0 to (population size - 1)Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.