public class SimpleCellFactory.SimpleCell extends RealScalarFunctionChromosome
SimpleCell
implements the two genetic operations.
Modifier | Constructor and Description |
---|---|
protected |
SimpleCell(RealScalarFunction f,
Vector x) |
Modifier and Type | Method and Description |
---|---|
Chromosome |
crossover(Chromosome other)
Crossover by taking the midpoint.
|
Chromosome |
mutate()
Mutate by random disturbs in a neighborhood.
|
protected SimpleCell(RealScalarFunction f, Vector x)
public Chromosome mutate()
public Chromosome crossover(Chromosome other)
other
- another chromosomeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.