Package org.opt4j.operator.neighbor
Class NeighborDouble
java.lang.Object
org.opt4j.operator.neighbor.NeighborDouble
- All Implemented Interfaces:
Operator<DoubleGenotype>,Neighbor<DoubleGenotype>
The
NeighborDouble operator for the DoubleGenotype.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNeighborDouble(NormalizeDouble normalize, Rand random) Constructs aNeighborDouble. -
Method Summary
Modifier and TypeMethodDescriptionvoidneighbor(DoubleGenotype genotype) Moves theGenotypeto a neighbor.
-
Field Details
-
random
-
normalize
-
-
Constructor Details
-
NeighborDouble
Constructs aNeighborDouble.- Parameters:
normalize- the operator for normalizationrandom- the random number generator
-
-
Method Details