Class RingNeighborhood<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.neighborhood.impl.RingNeighborhood<S>
- Type Parameters:
S-
- All Implemented Interfaces:
Serializable,Neighborhood<S>
This class implements a ring-based neighborhood. The neighbours of the solution at position i are
the particles a positions i - 1 and i + 1.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.uma.jmetal.util.neighborhood.Neighborhood
Neighborhood.NeighborType -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RingNeighborhood
public RingNeighborhood()
-
-
Method Details
-
getNeighbors
- Specified by:
getNeighborsin interfaceNeighborhood<S extends Solution<?>>
-