update with the change
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2624 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
fa50840a87
commit
35dfec9f30
1 changed files with 7 additions and 7 deletions
|
|
@ -31,7 +31,7 @@
|
||||||
#define __moGPUXBitFlippingNeighbor_h
|
#define __moGPUXBitFlippingNeighbor_h
|
||||||
|
|
||||||
#include <neighborhood/moBackableNeighbor.h>
|
#include <neighborhood/moBackableNeighbor.h>
|
||||||
#include <neighborhood/moXChangeNeighbor.h>
|
#include <neighborhood/moGPUXChangeNeighbor.h>
|
||||||
#include <GPUType/moGPUBitVector.h>
|
#include <GPUType/moGPUBitVector.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -40,20 +40,20 @@
|
||||||
|
|
||||||
template< class Fitness >
|
template< class Fitness >
|
||||||
class moGPUXBitFlippingNeighbor:public moBackableNeighbor< moGPUBitVector<Fitness> > ,
|
class moGPUXBitFlippingNeighbor:public moBackableNeighbor< moGPUBitVector<Fitness> > ,
|
||||||
public moXChangeNeighbor< moGPUBitVector<Fitness> > {
|
public moGPUXChangeNeighbor< moGPUBitVector<Fitness> > {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
typedef moGPUBitVector<Fitness> EOT ;
|
typedef moGPUBitVector<Fitness> EOT ;
|
||||||
using moXChangeNeighbor<EOT>::indices;
|
using moGPUXChangeNeighbor<EOT>::indices;
|
||||||
using moXChangeNeighbor<EOT>::xChange;
|
using moGPUXChangeNeighbor<EOT>::xChange;
|
||||||
using moXChangeNeighbor<EOT>::key;
|
using moGPUXChangeNeighbor<EOT>::key;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Default Constructor
|
*Default Constructor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
moGPUXBitFlippingNeighbor() :
|
moGPUXBitFlippingNeighbor() :
|
||||||
moXChangeNeighbor<EOT> () {
|
moGPUXChangeNeighbor<EOT> () {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -62,7 +62,7 @@ public:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
moGPUXBitFlippingNeighbor(unsigned int _xFlip) :
|
moGPUXBitFlippingNeighbor(unsigned int _xFlip) :
|
||||||
moXChangeNeighbor<EOT> (_xFlip) {
|
moGPUXChangeNeighbor<EOT> (_xFlip) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue