saa.neighborhood1: saa.neighborhood1
Description
Generates neighbor solutions perturbing one parameter from current
solution S picked randonly.
Usage
saa.neighborhood1(f, S, d)
Value
The neighbor of solution of 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