...
This commit is contained in:
parent
2b9402d3f5
commit
27552a573e
11 changed files with 414 additions and 71 deletions
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue