public class SimpleCellFactory extends Object
SimpleCellFactory
produces SimpleCellFactory.SimpleCells.
A SimpleCellFactory.SimpleCell is a chromosome for a real valued function (an optimization problem)
and a candidate solution.Modifier and Type | Class and Description |
---|---|
class |
SimpleCellFactory.SimpleCell
A
SimpleCell implements the two genetic operations. |
Modifier and Type | Field and Description |
---|---|
protected RandomLongGenerator |
uniform
the uniform random number generator
|
Constructor and Description |
---|
SimpleCellFactory(double rate,
RandomLongGenerator uniform)
Construct an instance of a
SimpleCellFactory . |
Modifier and Type | Method and Description |
---|---|
SimpleCellFactory.SimpleCell |
getSimpleCell(RealScalarFunction f,
Vector x)
Construct an instance of a
SimpleCell . |
protected final RandomLongGenerator uniform
public SimpleCellFactory(double rate, RandomLongGenerator uniform)
SimpleCellFactory
.rate
- the convergence rateuniform
- a uniform random number generatorpublic SimpleCellFactory.SimpleCell getSimpleCell(RealScalarFunction f, Vector x)
SimpleCell
.f
- a real-valued functionx
- a candidate solutionSimpleCell
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.