mets::swap_full_neighborhood Class Reference

Generates a the full swap neighborhood. More...

`#include <model.hh>`

Inheritance diagram for mets::swap_full_neighborhood:

## 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.

**Parameters:**-
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.

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