toulbar2
Public Attributes | List of all members
NeighborhoodSearch Class Reference
Inheritance diagram for NeighborhoodSearch:
Inheritance graph
[legend]

Public Attributes

int minneighbors
 
int maxneighbors
 
int finished
 
int var_conflict
 
int val_conflict
 

Detailed Description

Class NeighborhoodSearch : how the neighborhood is explored

Member Data Documentation

◆ finished

int NeighborhoodSearch::finished

behavior indicator when the neighborhood is exhausted and no neighbor has been accepted : 0 stagnation, 1 the 1st feasible move is selected, k the best feasible among k tried but not accepted moves is selected

Referenced by LSAlgorithm::configurationmove().

◆ maxneighbors

int NeighborhoodSearch::maxneighbors

maximum number of explored neighbors

Referenced by DynamicNeighborhoodSearch::dynamicmaxneighbors(), and LSAlgorithm::test_bestfound().

◆ minneighbors

int NeighborhoodSearch::minneighbors

minimum number of visited neighbors

◆ val_conflict

int NeighborhoodSearch::val_conflict

restriction indicator to best values of a variable (0 no restriction , 1 restriction)

◆ var_conflict

int NeighborhoodSearch::var_conflict

restriction indicator to variables participating in a conflict (0 no restriction, 1 restriction)

Referenced by LSAlgorithm::configurationmove().