Class KNearestNeighborhood<S extends Solution<?>>

java.lang.Object
org.uma.jmetal.util.neighborhood.impl.KNearestNeighborhood<S>
Type Parameters:
S -
All Implemented Interfaces:
Serializable, Neighborhood<S>

public class KNearestNeighborhood<S extends Solution<?>> extends Object implements Neighborhood<S>
This class implements a neighborhood that select the k-nearest solutions according to a distance measure. By default, the Euclidean distance between objectives is used.
See Also: