saa.neighborhood: saa.neighborhood
Description
Generates neighbor solutions for simulated annealing
Usage
saa.neighborhood(f, S, d, n)
Value
The neighbor of solution S
Arguments
- f
An instance of ObjectiveFunction (or subclass) class ObjectiveFunction
- S
The current solution to find a neighbor
- d
The distance from current solution S distance = (max - min) * d
- n
The number of parameters to be perturbed