Template Fitness dans les Neighbor enlevés. On le déduit de EOT.
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1734 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
b453cef86f
commit
67a701f9ff
17 changed files with 51 additions and 56 deletions
|
|
@ -40,21 +40,18 @@
|
|||
/**
|
||||
* A Ordered Neighborhood
|
||||
*/
|
||||
template< class N >
|
||||
class moOrderNeighborhood : public moIndexNeighborhood<N>
|
||||
template< class Neighbor >
|
||||
class moOrderNeighborhood : public moIndexNeighborhood<Neighbor>
|
||||
{
|
||||
public:
|
||||
|
||||
/**
|
||||
* Define type of a solution corresponding to Neighbor
|
||||
*/
|
||||
typedef N Neighbor;
|
||||
typedef typename Neighbor::EOT EOT;
|
||||
|
||||
|
||||
using moIndexNeighborhood<Neighbor>::neighborhoodSize;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param _neighborhoodSize the size of the neighborhood
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue