diff --git a/trunk/paradiseo-mo/src/neighborhood/moNeighbor.h b/trunk/paradiseo-mo/src/neighborhood/moNeighbor.h index 9d69bee1e..56bbf911b 100644 --- a/trunk/paradiseo-mo/src/neighborhood/moNeighbor.h +++ b/trunk/paradiseo-mo/src/neighborhood/moNeighbor.h @@ -108,7 +108,7 @@ public: * @param _neighbor a neighbor * @return if _neighbor and this one are equals */ - virtual bool equals(moNeighbor& _neighbor) { + virtual bool equals(moNeighbor & _neighbor) { return false; } diff --git a/trunk/paradiseo-mo/src/problems/bitString/moBitsNeighbor.h b/trunk/paradiseo-mo/src/problems/bitString/moBitsNeighbor.h index ef00db410..82c03e816 100644 --- a/trunk/paradiseo-mo/src/problems/bitString/moBitsNeighbor.h +++ b/trunk/paradiseo-mo/src/problems/bitString/moBitsNeighbor.h @@ -119,7 +119,7 @@ public: * @param _neighbor a neighbor * @return if _neighbor and this one are equals */ - virtual bool equals(moBitsNeighbor& _neighbor) { + virtual bool equals(moBitsNeighbor & _neighbor) { if (nBits != _neighbor.nBits) return false; else { diff --git a/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h b/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h index 1d1c7d9db..e940c836c 100644 --- a/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h +++ b/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h @@ -83,7 +83,7 @@ public: * @param _neighbor a neighbor * @return if _neighbor and this one are equals */ - virtual bool equals(moSwapNeighbor& _neighbor) { + virtual bool equals(moSwapNeighbor& _neighbor) { unsigned f, s; _neighbor.getIndices(f, s); return ((indices.first == f) && (indices.second == s) || (indices.first