git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2092 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
81f8b40894
commit
66aa25e161
1 changed files with 60 additions and 60 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
||||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
*/
|
||||
|
||||
#ifndef __OneMaxIncrEval_H
|
||||
#define __OneMaxIncrEval_H
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
template<class Neighbor>
|
||||
class OneMaxIncrEval: public moCudaEvalFunc<Neighbor> {
|
||||
|
||||
public:
|
||||
public:
|
||||
|
||||
typedef typename Neighbor::EOT EOT;
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
|
@ -70,7 +70,7 @@ public:
|
|||
* @param _index the index of solution neighbor
|
||||
*/
|
||||
|
||||
inline __host__ __device__ Fitness operator() (EOT & _bitVector,Fitness _fitness, unsigned int * _index) {
|
||||
inline __host__ __device__ Fitness operator() (EOT & _bitVector,Fitness _fitness, unsigned int * _index) {
|
||||
|
||||
Fitness tmp;
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ inline __host__ __device__ Fitness operator() (EOT & _bitVector,Fitness _fitness
|
|||
|
||||
return tmp;
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue