toulbar2
Public Member Functions | Public Attributes | List of all members
DynamicNeighborhoodSearch Class Reference
Inheritance diagram for DynamicNeighborhoodSearch:
Inheritance graph
[legend]
Collaboration diagram for DynamicNeighborhoodSearch:
Collaboration graph
[legend]

Public Member Functions

void dynamicmaxneighbors (int &maxneigh, int &minneigh, int nbmoves)
 

Public Attributes

int initmaxneighbors
 
int initminneighbors
 
int adjustperiod
 
- Public Attributes inherited from NeighborhoodSearch
int minneighbors
 
int maxneighbors
 
int finished
 
int var_conflict
 
int val_conflict
 

Detailed Description

Neighborhood with dynamic parameter tuning

Member Function Documentation

◆ dynamicmaxneighbors()

void DynamicNeighborhoodSearch::dynamicmaxneighbors ( int &  maxneigh,
int &  minneigh,
int  nbmoves 
)
virtual

adjust the parameters maxneighbors and minneighbors

Reimplemented from NeighborhoodSearch.

References adjustperiod, and NeighborhoodSearch::maxneighbors.

Member Data Documentation

◆ adjustperiod

int DynamicNeighborhoodSearch::adjustperiod

parameter readjustment period

Referenced by dynamicmaxneighbors().

◆ initmaxneighbors

int DynamicNeighborhoodSearch::initmaxneighbors

initial value of maxneighbors parameter

◆ initminneighbors

int DynamicNeighborhoodSearch::initminneighbors

initial value of minneighbors parameter