Dans les "neighbors": Ajout d'un template Fitness avec comme valeur par défaut EOT::Fitness.
Utile pour la compatibilité avec MOEO ou Fitness doit être un Objective Vector git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1816 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
961dcba259
commit
2a102a5cf7
7 changed files with 23 additions and 23 deletions
|
|
@ -40,8 +40,8 @@
|
|||
/**
|
||||
* Neighbor with a move back function to use in a moFullEvalByModif
|
||||
*/
|
||||
template< class EOT >
|
||||
class moBackableNeighbor : virtual public moNeighbor<EOT>
|
||||
template< class EOT, class Fitness=typename EOT::Fitness >
|
||||
class moBackableNeighbor : virtual public moNeighbor<EOT, Fitness>
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue