git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2025 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
27600b14b6
commit
99c8a33b59
2 changed files with 3 additions and 2 deletions
|
|
@ -64,7 +64,8 @@ public:
|
||||||
* Assignment operator
|
* Assignment operator
|
||||||
* @param _source the source neighbor
|
* @param _source the source neighbor
|
||||||
*/
|
*/
|
||||||
virtual moIndexNeighbor<EOT, Fitness> & operator=(const moIndexNeighbor<EOT, Fitness> & _source) {
|
|
||||||
|
moIndexNeighbor<EOT, Fitness> & operator=(const moIndexNeighbor<EOT, Fitness> & _source) {
|
||||||
moNeighbor<EOT, Fitness>::operator=(_source);
|
moNeighbor<EOT, Fitness>::operator=(_source);
|
||||||
this->key = _source.key ;
|
this->key = _source.key ;
|
||||||
return *this ;
|
return *this ;
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Setter the position in the Neighborhood
|
* Setter the position in the Neighborhood
|
||||||
*/
|
*/
|
||||||
unsigned int setPosition(unsigned int _currentIndex) {
|
void setPosition(unsigned int _currentIndex) {
|
||||||
currentIndex=_currentIndex;
|
currentIndex=_currentIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue