Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit fc546d95 authored by Joseph Pallamidessi's avatar Joseph Pallamidessi
Browse files

Correct the Ant example and add informations about each examples (README.txt)

parent 041a28ec
To Compile this example:
$ easea ant.ez
$ make
To test it:
$ ./ant
To clean easea related file:
$ make easeaclean
/* ANTPROJECT */
\User declarations:
#include <cstring>
int nbEvalTotal = 0; //Le nombre d'evaluations
short nbPasMax = 600; //Le nombre max de mouvements autorises
double pMutPerGene=0.05; // La probabilité de muter un gene
......@@ -454,7 +455,7 @@
\end
\Before everything else function:
if ((argc>1)&&(!strcmp(argv[1],"size"))) SIZE=atoi(argv[2]);
if ((argc>1)&&(!std::strcmp(argv[1],"size"))) SIZE=atoi(argv[2]);
\end
\User classes:
......@@ -496,7 +497,7 @@
* Attention : penser à commenter dans la fonction evaluerMove
*/
imprimerArbre(bBest->arbre);
printf("\nfitness = %d\n",pPopulation[0]->getFitness());
printf("\nfitness = %f\n",pPopulation[0]->getFitness());
FILE *fichier;
fichier = fopen("sortieEasea.txt","w");
imprimerArbreDansFichier(pPopulation[0]->arbre, fichier);
......
To Compile this example:
$ easea bbob2013.ez
$ make
To test it:
$ ./bbob2013
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea -cuda cigtabGPU.ez
$ make
To test it:
$ ./cigtabGPU
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea cigtab.ez
$ make
To test it:
$ ./cigtab
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea listsort.ez
$ make
To test it:
$ ./listsort
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea -cuda memetic_weierstrass.ez
$ make
To test it:
$ ./memetic_weierstrass
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea -cuda memetic_weierstrass.ez
$ make
To test it:
$ ./memetic_weierstrass
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea memetic_weierstrass.ez
$ make
To test it:
$ ./memetic_weierstrass
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea memetic_weierstrass.ez
$ make
To test it:
$ ./memetic_weierstrass
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea michalewicz.ez
$ make
To test it:
$ ./michalewicz
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea rastrigin.ez
$ make
To test it:
$ ./rastrigin
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea -gp regression.ez
$ make
or CUDA version:
$ easea -cuda_gp regression.ez
$ make
Alternatively use the script:
$ ./run.sh
$ make
or CUDA version:
$ ./run_cuda.sh
$ make
To test it:
$ ./regression
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea -gp regression.ez
$ make
or CUDA version:
$ easea -cuda_gp regression.ez
$ make
To test it:
$ ./regression
To clean easea related file:
$ make easeaclean
NOTE:
This example don't work !! An updated version will remplaced it soon.
To Compile this example:
$ easea -gp regression.ez
$ make
or CUDA version:
$ easea -cuda_gp regression.ez
$ make
To test it:
$ ./regression
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea sphere.ez
$ make
To test it:
$ ./sphere
To clean easea related file:
$ make easeaclean
To Compile this example:
$ easea weierstrass.ez
$ make
or the CUDA version:
$ easea -cuda weierstrass.ez
$ make
To test it:
$ ./weierstrass
To clean easea related file:
$ make easeaclean
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