public class Best2Bin extends Best1Bin
Modifier and Type | Class and Description |
---|---|
class |
Best2Bin.DeBest2BinCell |
Rand1Bin.DeRand1BinCell
DEOptimCellFactory.DeOptimCell
SimpleCellFactory.SimpleCell
Cr, F
uniform
Constructor and Description |
---|
Best2Bin(double Cr,
double F,
RandomLongGenerator uniform)
Construct an instance of
Best2Bin . |
Modifier and Type | Method and Description |
---|---|
Best2Bin.DeBest2BinCell |
getSimpleCell(RealScalarFunction f,
Vector x)
Construct an instance of a
SimpleCell . |
getBase
Fmin, getOne, getPopulation, setPopulation
public Best2Bin(double Cr, double F, RandomLongGenerator uniform)
Best2Bin
.Cr
- the crossover probabilityF
- the scaling factoruniform
- a uniform random number generatorpublic Best2Bin.DeBest2BinCell getSimpleCell(RealScalarFunction f, Vector x)
SimpleCellFactory
SimpleCell
.getSimpleCell
in class Rand1Bin
f
- a real-valued functionx
- a candidate solutionSimpleCell
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.