Commit graph

342 commits

Author SHA1 Message Date
Johann Dreo
de201e1007 add an evaluator wrapper that keep the best individual found so far 2012-09-06 20:52:15 +02:00
Johann Dreo
877604db37 Add a test for variable length init.
Demonstrate how to use eoInitVariableLength along with an adhoc atom type of
our own to create a random pop.
2012-08-10 22:28:54 +02:00
Benjamin Bouvier
9ea12568b2 MPI: first version of distribution of time sleep experiment. 2012-08-10 11:30:25 +02:00
Benjamin Bouvier
b31c520eba Removed all remaining warnings at compilation 2012-07-27 15:22:23 +02:00
Johann Dreo
cbaea85ec3 use mpicxx without a fixed path 2012-07-26 17:06:40 +02:00
Johann Dreo
36f30db313 manual merge on eoPop.h 2012-07-26 16:29:34 +02:00
Benjamin Bouvier
7b5c98f3a6 Multistart example is automatically compiled when compiling MPI examples. 2012-07-26 16:17:07 +02:00
Benjamin Bouvier
61c31a4a71 MPI Multistart: everybody loves comments, except the one who writes them. 2012-07-26 16:01:04 +02:00
Benjamin Bouvier
2ca5483f5d MPI Multistart: using eoCountContinue in resetAlgo functors instead of eoGenContinue. 2012-07-26 15:13:36 +02:00
Benjamin Bouvier
dfd653d95b MPI Multistart: moved MultiStart job into a standalone header, eoMultiStart.h. t-mpi-multistart.cpp becomes an example. 2012-07-26 14:45:31 +02:00
Benjamin Bouvier
1885517dc1 MPI Multistart: new default ResetAlgo functor: reuse the same pop. 2012-07-26 14:31:57 +02:00
Benjamin Bouvier
12614faee1 MPI Multistart: saving solutions sent by workers in a eoPop instead of keeping only the best solution. 2012-07-26 14:23:07 +02:00
Benjamin Bouvier
9a40d6ed04 MPI Multistart: removed traces and useless comments. 2012-07-26 14:12:32 +02:00
Benjamin Bouvier
db93ac635b MPI Multistart: merged functors ReinitJob and ResetAlgo, as it should in fact be done in the mean while. 2012-07-26 13:58:36 +02:00
Benjamin Bouvier
e2e6ad8c99 MPI Multistart: renamed default functors and added a few default functors. 2012-07-26 13:48:40 +02:00
Benjamin Bouvier
e58b3e5cb2 MPI Multistart: removed second template parameter Fitness, as it can be deduced from Individual. 2012-07-26 12:06:23 +02:00
Benjamin Bouvier
0c1fc2ce99 MPI MultiStart: using SGA as example and functors for seed generation, reinitialization of pop, algorithm reset. 2012-07-26 11:58:42 +02:00
Benjamin Bouvier
74bdb0fa91 Multistart: added possibility to reinit population on each MultiStartJob, or use the same pop. 2012-07-25 15:24:25 +02:00
Benjamin Bouvier
355541ae88 MPI example: Multistart. 2012-07-25 14:56:02 +02:00
Benjamin Bouvier
73af5d4f7b Fixed compilation bug (use of stdlib constantes) in MPI tests, when cmaking locally. 2012-07-25 14:55:45 +02:00
Benjamin Bouvier
e48782f22d Added a template for eo::mpi::Job in test/mpi directory. 2012-07-24 18:22:35 +02:00
Benjamin Bouvier
09af612749 Updated examples' comments. 2012-07-24 17:12:18 +02:00
Benjamin Bouvier
3613618544 Updated compilation system so as to remove dependance to Boost. 2012-07-24 16:36:10 +02:00
Benjamin Bouvier
0e56778327 Updated the tests to conform the new Boost-like API 2012-07-24 15:41:25 +02:00
Benjamin Bouvier
1f5719c647 Put back example t-mpi-eval to use a customized store. 2012-07-23 15:03:47 +02:00
Johann Dreo
e7d38c54f0 Merge branch 'master' of ssh://trtp7097/home/bouvier/eo into eompi 2012-07-20 11:27:38 +02:00
Benjamin Bouvier
eebeaa810e Updating names: SharedDataFunction::d => SharedDataFunction::_data, ParallelApplyData::_data => ParallelApplyData::_table 2012-07-18 17:37:50 +02:00
Benjamin Bouvier
8285d78245 Added comments in wrapper of t-mpi-eval. 2012-07-18 13:57:13 +02:00
Johann Dreo
afd02eeb37 manual merge: deactivate t-eoParallel, that depends on OpenMP, whatever the build options 2012-07-16 15:15:42 +02:00
Benjamin Bouvier
b92f17fce5 Documentation of MPI examples. 2012-07-16 15:07:48 +02:00
Benjamin Bouvier
d2816d530a Included MPI tests into compilation, if WITH_MPI is defined. 2012-07-13 16:47:28 +02:00
Benjamin Bouvier
12560899ae Updating MPI tests. 2012-07-11 12:00:36 +02:00
Johann Dreo
ea8da0e965 manual merge eompi 2012-07-10 18:00:25 +02:00
nojhan
5827444774 Comment out deprecated stuff and fix corresponding tests
This may break your code if you did not pay attention to warnings in the previous release, the old code is still here in
case you want to understand what's going on.
2012-07-06 20:48:18 +02:00
Benjamin Bouvier
581b24af18 Bugfix: a reference can't be reinitialized. Different vectors weren't recopied after evaluation. 2012-07-04 13:24:10 +02:00
Benjamin Bouvier
603268b053 Added store management to eoPopEvalFunc. 2012-07-04 10:53:57 +02:00
Benjamin Bouvier
24c29db6f3 Using again parallel apply into eoPopEvalFunc::eoParallelPopEvalFunc. 2012-07-03 15:53:19 +02:00
Benjamin Bouvier
1d3790a0e4 Updating multiple roles test. 2012-07-03 15:07:27 +02:00
Benjamin Bouvier
564cc3bccd Using eo::mpi::DEFAULT_MASTER instead of raw constants. 2012-07-03 14:51:34 +02:00
Benjamin Bouvier
63f12c4e1c JobStore has now getters, setters and wrappers methods. 2012-07-03 14:48:47 +02:00
Benjamin Bouvier
6bb2ccfbd6 Steps of MpiJob are now functors which can be wrapped (using decorator pattern). 2012-07-03 13:57:20 +02:00
Benjamin Bouvier
ff61676fb7 Cleaner version of functional parallel job. 2012-07-02 17:53:02 +02:00
Benjamin Bouvier
d05cbfd60d First version of functional job 2012-07-02 11:56:41 +02:00
Benjamin Bouvier
fc68c3b81e eoPopEvalFunc updated for parallel evaluation. 2012-06-25 14:55:15 +02:00
Benjamin Bouvier
b291e56e03 Putting everything in namespace eo::mpi 2012-06-25 14:11:44 +02:00
Benjamin Bouvier
b9a2246f82 Generating time based seed for random generator 2012-06-25 13:53:34 +02:00
Benjamin Bouvier
d9c7ef0300 Parallel apply test is done on a big table. 2012-06-25 13:51:49 +02:00
Benjamin Bouvier
f4d8b43f7d ParallelApply can now handle many data at a time. 2012-06-25 13:41:48 +02:00
Benjamin Bouvier
66c7b1f12d Using real dynamic assignments for tests. 2012-06-25 11:44:14 +02:00
Caner Candan
d44a696e21 * fixed regression with gcc 4.7 2012-06-23 13:39:17 +02:00