Public Member Functions

mets::swap_full_neighborhood Class Reference
[Model]

Generates a the full swap neighborhood. More...

#include <model.hh>

Inheritance diagram for mets::swap_full_neighborhood:
Inheritance graph
[legend]
Collaboration diagram for mets::swap_full_neighborhood:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Generates a the full swap neighborhood.


Constructor & Destructor Documentation

mets::swap_full_neighborhood::swap_full_neighborhood ( int  size  )  [inline]

A neighborhood exploration strategy for mets::swap_elements.

This strategy selects *moves* random swaps.

Parameters:
size the size of the problem

The documentation for this class was generated from the following file:

Return to METSlib home page