some template 'Fitness' missing in some moNeighbor
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2202 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
1a1422f2f9
commit
8e638c974e
3 changed files with 3 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ public:
|
||||||
* @param _neighbor a neighbor
|
* @param _neighbor a neighbor
|
||||||
* @return if _neighbor and this one are equals
|
* @return if _neighbor and this one are equals
|
||||||
*/
|
*/
|
||||||
virtual bool equals(moNeighbor<EOT>& _neighbor) {
|
virtual bool equals(moNeighbor<EOT,Fitness> & _neighbor) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ public:
|
||||||
* @param _neighbor a neighbor
|
* @param _neighbor a neighbor
|
||||||
* @return if _neighbor and this one are equals
|
* @return if _neighbor and this one are equals
|
||||||
*/
|
*/
|
||||||
virtual bool equals(moBitsNeighbor<EOT>& _neighbor) {
|
virtual bool equals(moBitsNeighbor<EOT,Fitness> & _neighbor) {
|
||||||
if (nBits != _neighbor.nBits)
|
if (nBits != _neighbor.nBits)
|
||||||
return false;
|
return false;
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ public:
|
||||||
* @param _neighbor a neighbor
|
* @param _neighbor a neighbor
|
||||||
* @return if _neighbor and this one are equals
|
* @return if _neighbor and this one are equals
|
||||||
*/
|
*/
|
||||||
virtual bool equals(moSwapNeighbor<EOT>& _neighbor) {
|
virtual bool equals(moSwapNeighbor<EOT,Fitness>& _neighbor) {
|
||||||
unsigned f, s;
|
unsigned f, s;
|
||||||
_neighbor.getIndices(f, s);
|
_neighbor.getIndices(f, s);
|
||||||
return ((indices.first == f) && (indices.second == s) || (indices.first
|
return ((indices.first == f) && (indices.second == s) || (indices.first
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue