public class ConstrainedCellFactory.ConstrainedCell extends DEOptimCellFactory.DeOptimCell
ConstrainedCell is a chromosome for a constrained optimization problem.
It encodes the real valued objective function, a candidate solution, as well as the constraints.| Modifier | Constructor and Description |
|---|---|
protected |
ConstrainedCell(RealScalarFunction f,
Vector x) |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
crossover(Chromosome obj)
Crossover by taking the midpoint.
|
Chromosome |
mutate()
Mutate by random disturbs in a neighborhood.
|
protected ConstrainedCell(RealScalarFunction f, Vector x)
public Chromosome mutate()
SimpleCellFactory.SimpleCellmutate in interface Chromosomemutate in class DEOptimCellFactory.DeOptimCellpublic Chromosome crossover(Chromosome obj)
SimpleCellFactory.SimpleCellcrossover in interface Chromosomecrossover in class DEOptimCellFactory.DeOptimCellobj - another chromosomeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.