Add rejected move as a parameter. The default behaviour defined in NeighbourhoodSearch does not use this (it simply updates number of rejected moves) but specific searches might want to override this behaviour, for any reason whatsoever.
For consistency reasons it is better to pass the move anyway, as is the case for acceptMove(move).
Add rejected move as a parameter. The default behaviour defined in NeighbourhoodSearch does not use this (it simply updates number of rejected moves) but specific searches might want to override this behaviour, for any reason whatsoever.
For consistency reasons it is better to pass the move anyway, as is the case for acceptMove(move).