|
METSlib
0.6
|
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. More... | |
| ~swap_full_neighborhood () | |
| Dtor. | |
| void | refresh (const mets::feasible_solution &s) |
| Use the same set set of moves at each iteration. | |
Public Member Functions inherited from mets::move_manager | |
| move_manager () | |
| Initialize the move manager with an empty list of moves. | |
| virtual | ~move_manager () |
| Virtual destructor. | |
| iterator | begin () |
| Begin iterator of available moves queue. | |
| iterator | end () |
| End iterator of available moves queue. | |
| size_type | size () const |
| Size of the neighborhood. | |
Additional Inherited Members | |
Public Types inherited from mets::move_manager | |
|
typedef std::deque< const move * > ::iterator | iterator |
| Iterator type to iterate over moves of the neighborhood. | |
|
typedef std::deque< const move * > ::size_type | size_type |
| Size type. | |
Protected Member Functions inherited from mets::move_manager | |
| move_manager (const move_manager &) | |
Protected Attributes inherited from mets::move_manager | |
| std::deque< const move * > | moves_m |
| The moves queue. | |
Generates a the full swap neighborhood.
|
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