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.SimpleCell
mutate
in interface Chromosome
mutate
in class SimpleCellFactory.SimpleCell
public abstract Chromosome crossover(Chromosome obj)
SimpleCellFactory.SimpleCell
crossover
in interface Chromosome
crossover
in class SimpleCellFactory.SimpleCell
obj
- another chromosomeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.