missing function in moBitsNeighborhood.h

This commit is contained in:
Arnaud Liefooghe 2014-10-17 15:06:59 +02:00
commit b6b5cd6e2f

View file

@ -30,7 +30,7 @@
ParadisEO WebSite : http://paradiseo.gforge.inria.fr ParadisEO WebSite : http://paradiseo.gforge.inria.fr
Contact: paradiseo-help@lists.gforge.inria.fr Contact: paradiseo-help@lists.gforge.inria.fr
*/ */
#ifndef _moBitsNeighborhood_h #ifndef _moBitsNeighborhood_h
#define _moBitsNeighborhood_h #define _moBitsNeighborhood_h
@ -110,6 +110,14 @@ public:
return "moBitsNeighborhood"; return "moBitsNeighborhood";
} }
/**
* The neighborhood is random here
* @return true, since the neighborhood is random
*/
bool isRandom() {
return true;
}
protected: protected:
// length of the bit strings // length of the bit strings
unsigned int length; unsigned int length;