public abstract class ConstrainedCellFactory extends DEOptimCellFactory
Modifier and Type | Class and Description |
---|---|
class |
ConstrainedCellFactory.ConstrainedCell
A
ConstrainedCell is a chromosome for a constrained optimization problem. |
DEOptimCellFactory.DeOptimCell
SimpleCellFactory.SimpleCell
Modifier and Type | Field and Description |
---|---|
protected DEOptimCellFactory |
unconstrainedFactory
a factory that defines the unconstrained Differential Evolution operators
|
Cr, F
uniform
Modifier | Constructor and Description |
---|---|
protected |
ConstrainedCellFactory(DEOptimCellFactory unconstrainedFactory)
Construct an instance of a
ConstrainedCellFactory that define the constrained Differential Evolution operators. |
Modifier and Type | Method and Description |
---|---|
abstract ConstrainedCellFactory.ConstrainedCell |
getSimpleCell(RealScalarFunction f,
Vector x)
Override this method to put in whatever constraints in the minimization problem.
|
void |
setPopulation(List<Chromosome> population)
Set the current generation.
|
Fmin, getBase, getOne, getPopulation
protected final DEOptimCellFactory unconstrainedFactory
protected ConstrainedCellFactory(DEOptimCellFactory unconstrainedFactory)
ConstrainedCellFactory
that define the constrained Differential Evolution operators.unconstrainedFactory
- a factory that defines the unconstrained Differential Evolution operatorspublic void setPopulation(List<Chromosome> population)
DEOptimCellFactory
setPopulation
in class DEOptimCellFactory
population
- the current population poolpublic abstract ConstrainedCellFactory.ConstrainedCell getSimpleCell(RealScalarFunction f, Vector x)
getSimpleCell
in class SimpleCellFactory
f
- the original objective functionx
- the original, unprocessed, unconstrained candidate solutionCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.