public class SimpleCellFactory
extends java.lang.Object
implements java.io.Serializable
SimpleCellFactory produces SimpleCells.
A 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