Generates a the full swap neighborhood. More...
#include <model.hh>
Public Member Functions | |
void | refresh (mets::feasible_solution &) |
Use the same set set of moves at each iteration. | |
swap_full_neighborhood (int size) | |
A neighborhood exploration strategy for mets::swap_elements. | |
~swap_full_neighborhood () | |
Dtor. |
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 |
void mets::swap_full_neighborhood::refresh | ( | mets::feasible_solution & | ) | [inline, virtual] |
Use the same set set of moves at each iteration.
Implements mets::move_manager.