Generates a the full swap neighborhood. More...
#include <model.hh>
Public Member Functions | |
swap_full_neighborhood (int size) | |
A neighborhood exploration strategy for mets::swap_elements. | |
~swap_full_neighborhood () | |
Dtor. | |
void | refresh (mets::feasible_solution &s) |
Use the same set set of moves at each iteration. |
Generates a the full swap neighborhood.
mets::swap_full_neighborhood::swap_full_neighborhood | ( | int | size | ) | [inline] |
A neighborhood exploration strategy for mets::swap_elements.
This strategy selects *moves* random swaps.
size | the size of the problem |
Return to METSlib home page