Class: AnnealingSolver

AnnealingSolver()

Class for solving problems using simulated annealing

Constructor

new AnnealingSolver()

Source:

Methods

computeStartingTemp(problem, params) → {int}

Function to compute starting temperature
Parameters:
Name Type Description
problem object type of problem
params object problem parameters
Source:
Returns:
calculated starting temperature
Type
int

solve(problem, params) → {Result}

Main function method, solves the problem using simulated annealing
Parameters:
Name Type Description
problem object type of problem
params object problem parameters
Source:
Returns:
final configuration, its fitness and number of iterations
Type
Result