Class LocalSearchCellFactory.LocalSearchCell
- java.lang.Object
-
- dev.nm.solver.multivariate.geneticalgorithm.minimizer.simplegrid.RealScalarFunctionChromosome
-
- dev.nm.solver.multivariate.geneticalgorithm.minimizer.simplegrid.SimpleCellFactory.SimpleCell
-
- dev.nm.solver.multivariate.geneticalgorithm.minimizer.local.LocalSearchCellFactory.LocalSearchCell
-
- All Implemented Interfaces:
Chromosome
,Comparable<Chromosome>
- Enclosing class:
- LocalSearchCellFactory<P extends OptimProblem,T extends IterativeMinimizer<OptimProblem>>
public class LocalSearchCellFactory.LocalSearchCell extends SimpleCellFactory.SimpleCell
ALocalSearchCell
implements the two genetic operations.- Mutation by a local search in the neighborhood;
- Crossover by taking the midpoint (average) of two cells.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LocalSearchCell(RealScalarFunction f, Vector x)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalSearchCellFactory.LocalSearchCell
mutate()
Mutate by a local search in the neighborhood.-
Methods inherited from class dev.nm.solver.multivariate.geneticalgorithm.minimizer.simplegrid.SimpleCellFactory.SimpleCell
crossover
-
-
-
-
Constructor Detail
-
LocalSearchCell
protected LocalSearchCell(RealScalarFunction f, Vector x)
-
-
Method Detail
-
mutate
public LocalSearchCellFactory.LocalSearchCell mutate()
Mutate by a local search in the neighborhood.- Specified by:
mutate
in interfaceChromosome
- Overrides:
mutate
in classSimpleCellFactory.SimpleCell
- Returns:
- a mutant chromosome
-
-