public abstract class DEOptimCellFactory.DeOptimCell extends SimpleCellFactory.SimpleCell
DeOptimCell is a chromosome for a real valued function (an optimization problem)
and a candidate solution.
It is an abstract class so the subclasses must implement the two genetic operations.
The specific Differential Evolution rules are implemented by these two genetic operations.| Modifier | Constructor and Description |
|---|---|
protected |
DeOptimCell(RealScalarFunction f,
Vector x) |
| Modifier and Type | Method and Description |
|---|---|
abstract Chromosome |
crossover(Chromosome obj)
Crossover by taking the midpoint.
|
abstract Chromosome |
mutate()
Mutate by random disturbs in a neighborhood.
|
protected DeOptimCell(RealScalarFunction f, Vector x)
public abstract Chromosome mutate()
SimpleCellFactory.SimpleCellmutate in interface Chromosomemutate in class SimpleCellFactory.SimpleCellpublic abstract Chromosome crossover(Chromosome obj)
SimpleCellFactory.SimpleCellcrossover in interface Chromosomecrossover in class SimpleCellFactory.SimpleCellobj - another chromosomeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.