rien de spécial
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1645 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
6357aecddd
commit
2a4909cbdf
1 changed files with 3 additions and 4 deletions
|
|
@ -19,14 +19,13 @@ public:
|
||||||
|
|
||||||
// copy constructeur
|
// copy constructeur
|
||||||
moNeighbor(const moNeighbor<EOType, Fitness> & _n) {
|
moNeighbor(const moNeighbor<EOType, Fitness> & _n) {
|
||||||
repFitness = _n.fitness();
|
repFitness = _n.fitness();
|
||||||
}
|
}
|
||||||
|
|
||||||
// assignment operator
|
// assignment operator
|
||||||
virtual moNeighbor<EOType, Fitness> & operator=(const moNeighbor<EOType, Fitness> & _n) {
|
virtual moNeighbor<EOType, Fitness> & operator=(const moNeighbor<EOType, Fitness> & _n) {
|
||||||
repFitness = _n.fitness();
|
repFitness = _n.fitness();
|
||||||
|
return *this ;
|
||||||
return *this ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue