SolutionType
- solution type of created Metropolis searches, required to extend Solution
@FunctionalInterface public interface MetropolisSearchFactory<SolutionType extends Solution>
Modifier and Type | Method and Description |
---|---|
MetropolisSearch<SolutionType> |
create(Problem<SolutionType> problem,
Neighbourhood<? super SolutionType> neighbourhood,
double temperature)
Create a Metropolis search, given the problem to solve,
the applied neighbourhood and the desired temperature.
|
MetropolisSearch<SolutionType> create(Problem<SolutionType> problem, Neighbourhood<? super SolutionType> neighbourhood, double temperature)
problem
- problem to solveneighbourhood
- applied neighbourhoodtemperature
- temperature of the searchCopyright © 2016. All rights reserved.