Package | Description |
---|---|
org.jamesframework.core.search.algo.vns |
Variable neighbourhood searches and components.
|
Modifier and Type | Method and Description |
---|---|
LocalSearchFactory<SolutionType> |
VariableNeighbourhoodSearch.getLocalSearchFactory()
Get the factory used to create instances of the local search algorithm which is applied to modify
solutions obtained after shaking.
|
Modifier and Type | Method and Description |
---|---|
void |
VariableNeighbourhoodSearch.setLocalSearchFactory(LocalSearchFactory<SolutionType> localSearchFactory)
Set a custom factory to create instances of the local search algorithm to be applied to modify solutions
obtained after shaking.
|
Constructor and Description |
---|
VariableNeighbourhoodSearch(Problem<SolutionType> problem,
List<? extends Neighbourhood<? super SolutionType>> shakingNeighs,
LocalSearchFactory<SolutionType> localSearchFactory)
Creates a new variable neighbourhood search, specifying the problem to solve, the neighbourhoods used for
shaking, and a factory to create instances of a custom local search algorithm \(L\) to be applied after
shaking.
|
VariableNeighbourhoodSearch(String name,
Problem<SolutionType> problem,
List<? extends Neighbourhood<? super SolutionType>> shakingNeighs,
LocalSearchFactory<SolutionType> localSearchFactory)
Creates a new variable neighbourhood search, specifying the problem to solve, the neighbourhoods used for
shaking in VNS, a factory to create instances of a custom local search algorithm \(L\) to be applied to
modify solutions obtained after shaking, and a custom search name.
|
Copyright © 2016. All rights reserved.