Class WeightVectorNeighborhood<S extends Solution<?>>

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

public class WeightVectorNeighborhood<S extends Solution<?>> extends Object implements Neighborhood<S>
This class implements a neighborhood based on the weight vectors of MOEA/D
Author:
Antonio J. Nebro invalid input: '<'antonio@lcc.uma.es>
See Also:
  • Constructor Details

    • WeightVectorNeighborhood

      public WeightVectorNeighborhood(int numberOfWeightVectors, int neighborhoodSize)
    • WeightVectorNeighborhood

      public WeightVectorNeighborhood(int numberOfWeightVectors, int weightVectorSize, int neighborhoodSize, String vectorDirectoryName) throws FileNotFoundException
      Throws:
      FileNotFoundException
  • Method Details

    • getNeighbors

      public List<S> getNeighbors(List<S> solutionList, int solutionIndex)
      Specified by:
      getNeighbors in interface Neighborhood<S extends Solution<?>>
    • getNumberOfWeightVectors

      public int getNumberOfWeightVectors()
    • getWeightVectorSize

      public int getWeightVectorSize()
    • getNeighborhood

      public int[][] getNeighborhood()
    • getWeightVector

      public double[][] getWeightVector()
    • neighborhoodSize

      public int neighborhoodSize()