#include <moMoveSelect.h>

Public Types | |
| typedef M::EOType::Fitness | Fitness |
| Alias for the fitness. | |
Public Member Functions | |
| virtual void | init (const Fitness &_fitness)=0 |
| Procedure which initialises all that the move selector needs including the initial fitness. | |
| virtual bool | update (const M &_move, const Fitness &_fitness)=0 |
| Function which updates the best solutions. | |
It iteratively considers some moves (moMove) and their associated fitnesses. The best move is so regularly updated. At any time, it could be accessed.
Definition at line 50 of file moMoveSelect.h.
| virtual void moMoveSelect< M >::init | ( | const Fitness & | _fitness | ) | [pure virtual] |
Procedure which initialises all that the move selector needs including the initial fitness.
In order to know the fitness of the solution, for which the neighborhood will be soon explored
| _fitness | the current fitness. |
Implemented in moBestImprSelect< M >, moFirstImprSelect< M >, and moRandImprSelect< M >.
| virtual bool moMoveSelect< M >::update | ( | const M & | _move, | |
| const Fitness & | _fitness | |||
| ) | [pure virtual] |
Function which updates the best solutions.
| _move | a new move. | |
| _fitness | a fitness linked to the new move. |
Implemented in moBestImprSelect< M >, moFirstImprSelect< M >, and moRandImprSelect< M >.
1.5.4