easylocal::neighborhood_explorer_base
A base for an explorer, which gives it the associated types, the SolutionManager it is built from and input().
Synopsis
Declared in <easylocal/helpers/neighborhood_explorer.hpp>
template<
class SolutionManager,
class Move>
class neighborhood_explorer_base
: public input_base<SolutionManager::input_type>
Description
It is optional and non-virtual: it provides the types and input() that neighborhood_explorer_for requires, which an explorer may also declare itself. The Input, the SolutionManager's, comes from input_base, as it does for a cost component and for a SolutionManager.
Base Classes
| Name | Description |
|---|---|
input_base<SolutionManager::input_type> | A base for a class built from the Input, which gives it input_type and input(). |
Type Aliases
| Name | Description |
|---|---|
move_type | The Move type. |
solution_manager_type | The SolutionManager type. |
solution_type | The Solution type of the SolutionManager. |
Member Functions
| Name | Description |
|---|---|
neighborhood_explorer_base [constructor] | From the SolutionManager, which it keeps by reference. |
neighborhood_explorer_base [constructor] [deleted] | Not from a temporary SolutionManager, which would dangle: the SolutionManager must outlive the explorer. |
Protected Data Members
| Name | Description |
|---|---|
solution_manager_ | The SolutionManager the explorer was constructed from. |