Interface Neighbor<G extends Genotype>

Type Parameters:
G - the type of genotype
All Superinterfaces:
Operator<G>
All Known Subinterfaces:
NeighborInteger, NeighborPermutation
All Known Implementing Classes:
NeighborBoolean, NeighborDouble, NeighborGenericImplementation, NeighborIntegerRandom, NeighborPermutationInsert, NeighborPermutationMixed, NeighborPermutationRevert, NeighborPermutationSwap

public interface Neighbor<G extends Genotype> extends Operator<G>
The Neighbor operator as it is used for Simulated Annealing.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    neighbor(G genotype)
    Moves the Genotype to a neighbor.
  • Method Details

    • neighbor

      void neighbor(G genotype)
      Moves the Genotype to a neighbor.
      Parameters:
      genotype - the Genotype to be changed