This commit is contained in:
Caner Candan 2010-07-05 20:31:30 +02:00
commit 27552a573e
11 changed files with 414 additions and 71 deletions

View file

@ -0,0 +1,7 @@
######################################################################################
### 1) Where do we go now ?!?
######################################################################################
ADD_SUBDIRECTORY(cma_sa)
######################################################################################

View file

@ -1,5 +1,3 @@
FIND_PACKAGE(Boost 1.33.0 REQUIRED)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
SET(RESOURCES
@ -15,21 +13,7 @@ FOREACH(file ${RESOURCES})
)
ENDFOREACH(file)
ADD_EXECUTABLE(cma_sa main.cpp)
FILE(GLOB SOURCES *.cpp)
TARGET_LINK_LIBRARIES(cma_sa
${Boost_LIBRARIES}
BOPO
eoutils
pthread
moeo
eo
peo
rmc_mpi
eometah
nklandscapes
BOPO
#${MPICH2_LIBRARIES}
${LIBXML2_LIBRARIES}
${MPI_LIBRARIES}
)
ADD_EXECUTABLE(cma_sa ${SOURCES})
TARGET_LINK_LIBRARIES(cma_sa DO ${EO_LIBRARIES})

View file

@ -1,12 +1,3 @@
// #include <boost/numeric/ublas/matrix.hpp>
// #include <boost/numeric/ublas/io.hpp>
#ifndef HAVE_GNUPLOT
// FIXME: temporary define to force use of gnuplot without compiling
// again EO.
# define HAVE_GNUPLOT
#endif
#include <eo>
#include <mo>
@ -18,15 +9,12 @@
#include <do/make_continue.h>
#include <do/make_checkpoint.h>
//#include "BopoRosenbrock.h"
#include <do>
#include "Rosenbrock.h"
#include "Sphere.h"
#include <do>
typedef eoReal<eoMinimizingFitness> EOT;
//typedef doUniform< EOT > Distrib;
//typedef doNormal< EOT > Distrib;
int main(int ac, char** av)
{