public class WeightVectorNeighborhood<S> extends Object implements Neighborhood<S>
| Constructor and Description |
|---|
WeightVectorNeighborhood(int numberOfWeightVectors,
int neighborSize) |
WeightVectorNeighborhood(int numberOfWeightVectors,
int weightVectorSize,
int neighborSize,
String vectorFileName) |
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getNeighborhood() |
List<S> |
getNeighbors(List<S> solutionList,
int solutionIndex) |
int |
getNeighborSize() |
int |
getNumberOfWeightVectors() |
double[][] |
getWeightVector() |
int |
getWeightVectorSize() |
public WeightVectorNeighborhood(int numberOfWeightVectors,
int neighborSize)
public WeightVectorNeighborhood(int numberOfWeightVectors,
int weightVectorSize,
int neighborSize,
String vectorFileName)
throws FileNotFoundException
FileNotFoundExceptionpublic List<S> getNeighbors(List<S> solutionList, int solutionIndex)
getNeighbors in interface Neighborhood<S>public int getNumberOfWeightVectors()
public int getWeightVectorSize()
public int[][] getNeighborhood()
public double[][] getWeightVector()
public int getNeighborSize()
Copyright © 2018. All rights reserved.