Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 799c1961 authored by Frédéric Krüger's avatar Frédéric Krüger
Browse files

Correction bug CComUDPLayer.h

parent 22158784
...@@ -69,6 +69,10 @@ float gauss() ...@@ -69,6 +69,10 @@ float gauss()
\After everything else function: \After everything else function:
//cout << "After everything else function called" << endl; //cout << "After everything else function called" << endl;
cout << "Best individual " << bBest->fitness << endl;
ofstream SaveFile("save.csv", ios::app);
SaveFile << bBest->fitness << ";" << endl;
SaveFile.close();
\end \end
\At the beginning of each generation function: \At the beginning of each generation function:
...@@ -141,8 +145,8 @@ CPPFLAGS+= ...@@ -141,8 +145,8 @@ CPPFLAGS+=
\end \end
\Default run parameters : // Please let the parameters appear in this order \Default run parameters : // Please let the parameters appear in this order
Number of generations : 100 // NB_GEN Number of generations : 1000 // NB_GEN
Time limit: 60 // In seconds, 0 to deactivate Time limit: 0 // In seconds, 0 to deactivate
Population size : 3840 //POP_SIZE Population size : 3840 //POP_SIZE
Offspring size : 3840 // 40% Offspring size : 3840 // 40%
Mutation probability : 1 // MUT_PROB Mutation probability : 1 // MUT_PROB
...@@ -165,6 +169,7 @@ CPPFLAGS+= ...@@ -165,6 +169,7 @@ CPPFLAGS+=
Remote island model: false Remote island model: false
IP file: ip.txt //File containing all the remote island's IP IP file: ip.txt //File containing all the remote island's IP
Migration probability : 1.0
Save population: false Save population: false
Start from file:false Start from file:false
......
...@@ -186,7 +186,7 @@ CPPFLAGS+= ...@@ -186,7 +186,7 @@ CPPFLAGS+=
Elite: 1 Elite: 1
Print stats: true //Default: 1 Print stats: true //Default: 1
Generate csv stats file:false Generate csv stats file:false
Generate gnuplot script:false Generate gnuplot script:true
Generate R script:true Generate R script:true
Plot stats:false //Default: 0 Plot stats:false //Default: 0
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <string> #include <string>
#define _MULTI_THREADED #define _MULTI_THREADED
#define MAXINDSIZE 5000 /*maximum size of an individual in number of characters*/ #define MAXINDSIZE 50000 /*maximum size of an individual in number of characters*/
typedef struct { typedef struct {
char data[MAXINDSIZE]; char data[MAXINDSIZE];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment