T - Type of data that will be clusteredpublic class SANeighborGenerator<T> extends AbstractNeighborGenerator<T>
| Constructor and Description |
|---|
SANeighborGenerator(double initial_temp,
double gamma)
Initialize a Simulated Annealing based neighbor generator.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<T> |
getNeighbor(NeighborGeneratorHelper<T> helper,
Solution<T> current_solution,
Similarity<T> similarity)
Create a neighbor candidate solution.
|
init, notifyCandidateSolutionCost, notifyNewSolutionpublic SANeighborGenerator(double initial_temp,
double gamma)
initial_temp - gamma - public final ArrayList<T> getNeighbor(NeighborGeneratorHelper<T> helper, Solution<T> current_solution, Similarity<T> similarity) throws NoNeighborFoundException
NeighborGenerotorNoNeighborFoundException - if we
could not find a neighbor solutionCopyright © 2017. All rights reserved.