neighborhood

abstract fun neighborhood(inputMap: InputMap, solver: Solver): Set<InputMap>

Defines a search neighborhood for the provided input with respect to the problem. The function should guarantee that the returned set is not empty.

Return

a set of input points that form a search neighborhood around the provided point.

Parameters

inputMap

the location of the current point in the search space relative to which the neighborhood should be formed

solver

the solver needing the neighborhood