git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2068 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
d9916bec0e
commit
ee10f48842
6 changed files with 129 additions and 0 deletions
21
ParadisEO-GPU/tutoriel/QAP_CPU/src/Solution.h
Normal file
21
ParadisEO-GPU/tutoriel/QAP_CPU/src/Solution.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef _SOLUTION_H_
|
||||
#define _SOLUTION_H_
|
||||
|
||||
#include <eo> // PARADISEO
|
||||
|
||||
class Solution:public EO <eoMinimizingFitness>{ // PARADISEO
|
||||
|
||||
public:
|
||||
|
||||
int * solution;
|
||||
|
||||
Solution(int _taille){
|
||||
solution=new int[_taille];
|
||||
}
|
||||
|
||||
~Solution(){
|
||||
delete[] solution;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue