├── edo ├── src │ ├── TODO │ └── utils │ │ └── CMakeLists.txt ├── distclean ├── package_deb ├── package_rpm ├── build_gcc_linux_debug ├── build_gcc_linux_eigen_debug ├── build_gcc_linux_release ├── edo.pc ├── application │ ├── eda │ │ ├── eda.param │ │ └── CMakeLists.txt │ ├── eda_sa │ │ ├── eda_sa.param │ │ └── CMakeLists.txt │ ├── common │ │ ├── CMakeLists.txt │ │ ├── Sphere.h │ │ ├── Rosenbrock.h │ │ └── boxplot_eda_n_edasa.py │ └── CMakeLists.txt ├── NEWS ├── test │ ├── boxplot.py │ └── test_cov_parameters.py └── install.cmake-dist ├── eo ├── THANKS ├── src │ ├── pyeo │ │ ├── NEWS │ │ ├── AUTHORS │ │ ├── README │ │ ├── test │ │ │ ├── run_tests.sh │ │ │ ├── test_breeders.py │ │ │ └── test_reduce.py │ │ └── Makefile.rpm │ ├── es │ │ ├── ChangeLog │ │ └── eig.h │ ├── other │ │ └── external_eo │ ├── utils │ │ ├── ChangeLog │ │ ├── eoData.cpp │ │ ├── eoGnuplot.cpp │ │ ├── eoRNG.cpp │ │ ├── eoGnuplot1DSnapshot.cpp │ │ └── eoUpdater.cpp │ ├── serial │ │ └── json_example │ ├── eoPersistent.cpp │ ├── eoFunctorStore.cpp │ ├── ga │ │ ├── ChangeLog │ │ └── Readme │ ├── eoEvalPrint.h │ └── eoPrintable.cpp ├── .gitignore ├── doc │ ├── ChangeLog │ ├── EO_EA2001.pdf │ ├── LeCreusot.pdf │ ├── mainpage.html │ ├── publications.html │ └── sflogo-hammer1.jpg ├── contrib │ ├── eoAged.h │ ├── eoDrawable.h │ ├── MGE │ │ └── ChangeLog │ ├── eo-pso-22062007.bz2 │ ├── mathsym │ │ ├── tcc.tar.gz │ │ ├── tcc_patched.tar.gz │ │ ├── README.TCC │ │ ├── test │ │ │ ├── test_diff.cpp │ │ │ ├── test_simplify.cpp │ │ │ ├── test_lambda.cpp │ │ │ └── test_mf.cpp │ │ ├── eval │ │ │ ├── MultiFuncs.cpp │ │ │ └── MultiFunction.h │ │ ├── eo_interface │ │ │ └── eoSymLambdaMutate.cpp │ │ └── header │ ├── boost │ │ ├── config │ │ │ ├── abi_prefix.hpp │ │ │ ├── abi_suffix.hpp │ │ │ ├── compiler │ │ │ │ ├── vacpp.hpp │ │ │ │ ├── sunpro_cc.hpp │ │ │ │ ├── compaq_cxx.hpp │ │ │ │ ├── sgi_mipspro.hpp │ │ │ │ └── greenhills.hpp │ │ │ ├── platform │ │ │ │ ├── amigaos.hpp │ │ │ │ ├── solaris.hpp │ │ │ │ ├── beos.hpp │ │ │ │ └── irix.hpp │ │ │ └── stdlib │ │ │ │ ├── vacpp.hpp │ │ │ │ └── modena.hpp │ │ └── numeric │ │ │ ├── interval.hpp │ │ │ └── interval │ │ │ ├── arith.hpp │ │ │ ├── arith2.hpp │ │ │ ├── compare.hpp │ │ │ ├── limits.hpp │ │ │ ├── transc.hpp │ │ │ ├── utility.hpp │ │ │ ├── checking.hpp │ │ │ ├── constants.hpp │ │ │ ├── interval.hpp │ │ │ ├── rounding.hpp │ │ │ ├── detail │ │ │ ├── bugs.hpp │ │ │ ├── test_input.hpp │ │ │ ├── interval_prototype.hpp │ │ │ ├── bcc_rounding_control.hpp │ │ │ ├── c99_rounding_control.hpp │ │ │ ├── ppc_rounding_control.hpp │ │ │ ├── x86_rounding_control.hpp │ │ │ ├── c99sub_rounding_control.hpp │ │ │ ├── msvc_rounding_control.hpp │ │ │ ├── sparc_rounding_control.hpp │ │ │ └── x86gcc_rounding_control.hpp │ │ │ ├── hw_rounding.hpp │ │ │ ├── rounded_arith.hpp │ │ │ ├── rounded_transc.hpp │ │ │ ├── compare │ │ │ └── explicit.hpp │ │ │ └── ext │ │ │ └── x86_fast_rounding_control.hpp │ └── irace │ │ ├── expe │ │ ├── alpha │ │ │ ├── run_irace_all.sh │ │ │ ├── parse_elites.py │ │ │ └── run_irace.sh │ │ ├── gamma │ │ │ └── run_irace.py │ │ └── beta │ │ │ ├── irace_files_pA │ │ │ ├── default.instances │ │ │ ├── fastga.param │ │ │ └── forbidden.txt │ │ │ ├── run_exp.sh │ │ │ ├── irace_files_pO │ │ │ ├── fastga.param │ │ │ └── default.instances │ │ │ ├── csv_all_bests.sh │ │ │ ├── irace_files_pF │ │ │ ├── default.instances │ │ │ ├── fastga.param │ │ │ └── forbidden.txt │ │ │ ├── planO │ │ │ └── riaO.sh │ │ │ ├── testrandom.sh │ │ │ ├── run_res.sh │ │ │ ├── planF │ │ │ └── riaF.sh │ │ │ └── planA │ │ │ └── riaA.sh │ │ └── irace-config │ │ └── default.instances ├── test │ ├── t-eo2dVector.cc │ ├── run_tests │ ├── t-eo.cpp │ ├── mpi │ │ └── experiments.json │ ├── boxplot.py │ ├── real_value.h │ ├── binary_value.h │ ├── boxplot_to_pdf.py │ ├── boxplot_to_png.py │ ├── t-eoSecondsElapsedContinue.cpp │ ├── t-eoRealToIntMonOp.cpp │ ├── t-eoInt.cpp │ ├── t-eoEvalCmd.cpp │ ├── t-eoUniform.cpp │ ├── t-eoRealToIntQuadOp.cpp │ └── t-eoFunctor.cpp ├── tutorial │ ├── html │ │ ├── beige009.jpg │ │ ├── EA_tutorial.jpg │ │ ├── eoOutput.html │ │ ├── eoSelect.html │ │ ├── eoGeneration.html │ │ ├── eoRepresentation.html │ │ ├── eoIo.html │ │ ├── eoStop.html │ │ └── debut.html │ ├── Templates │ │ ├── ChangeLog │ │ ├── configure.ac.tmpl │ │ ├── make_op_MyStruct.h │ │ ├── Makefile.am.top-tmpl │ │ ├── Makefile.am.src-tmpl │ │ └── README.tmpl │ ├── Lesson5 │ │ └── make_op_OneMax.h │ ├── Parallelization │ │ ├── css │ │ │ ├── eompi.css │ │ │ ├── deck.hash.css │ │ │ ├── deck.status.css │ │ │ ├── deck.goto.css │ │ │ └── deck.scale.css │ │ └── img │ │ │ ├── serialisation.dia │ │ │ ├── serialisation.png │ │ │ ├── generic_parallel.dia │ │ │ └── generic_parallel.png │ ├── Lesson2 │ │ ├── binary_value.h │ │ └── real_value.h │ ├── Lesson3 │ │ ├── binary_value.h │ │ └── real_value.h │ ├── Lesson4 │ │ ├── real_value.h │ │ └── binary_value.h │ ├── README │ ├── CMakeLists.txt │ ├── Makefile.simple │ └── Lesson1 │ │ └── Makefile.simple ├── ToDo ├── pc.cmake ├── CTestConfig.cmake ├── app │ └── CMakeLists.txt └── PKGBUILD.cmake ├── deprecated └── eo │ ├── THANKS │ ├── src │ ├── pyeo │ │ ├── NEWS │ │ ├── AUTHORS │ │ ├── README │ │ └── test │ │ │ ├── run_tests.sh │ │ │ ├── test_breeders.py │ │ │ └── test_reduce.py │ ├── eoObject.h │ ├── eoFactory.h │ ├── es │ │ ├── ChangeLog │ │ ├── eoEsMutate.h │ │ └── eig.h │ ├── ga │ │ ├── ChangeLog │ │ └── Readme │ ├── eoOpSelMason.h │ ├── other │ │ └── external_eo │ ├── utils │ │ ├── ChangeLog │ │ ├── eoData.cpp │ │ ├── eoGnuplot.cpp │ │ ├── eoRNG.cpp │ │ └── eoGnuplot1DSnapshot.cpp │ ├── eoCombinedContinue.h │ ├── eoPersistent.cpp │ ├── eoFunctorStore.cpp │ └── eoPrintable.cpp │ ├── doc │ ├── ChangeLog │ ├── EO_EA2001.pdf │ ├── LeCreusot.pdf │ ├── mainpage.html │ ├── publications.html │ └── sflogo-hammer1.jpg │ ├── contrib │ ├── eoAged.h │ ├── MGE │ │ └── ChangeLog │ ├── eoDrawable.h │ ├── mathsym │ │ ├── tcc.tar.gz │ │ ├── tcc_patched.tar.gz │ │ ├── README.TCC │ │ ├── test │ │ │ ├── test_diff.cpp │ │ │ ├── test_simplify.cpp │ │ │ ├── test_lambda.cpp │ │ │ └── test_mf.cpp │ │ ├── eval │ │ │ ├── MultiFuncs.cpp │ │ │ └── MultiFunction.h │ │ ├── eo_interface │ │ │ └── eoSymLambdaMutate.cpp │ │ └── header │ ├── eo-pso-22062007.bz2 │ └── boost │ │ ├── numeric │ │ ├── interval.hpp │ │ └── interval │ │ │ ├── arith.hpp │ │ │ ├── arith2.hpp │ │ │ ├── limits.hpp │ │ │ ├── transc.hpp │ │ │ ├── checking.hpp │ │ │ ├── compare.hpp │ │ │ ├── constants.hpp │ │ │ ├── interval.hpp │ │ │ ├── rounding.hpp │ │ │ ├── utility.hpp │ │ │ ├── detail │ │ │ ├── bugs.hpp │ │ │ ├── test_input.hpp │ │ │ ├── interval_prototype.hpp │ │ │ ├── bcc_rounding_control.hpp │ │ │ ├── c99_rounding_control.hpp │ │ │ ├── msvc_rounding_control.hpp │ │ │ ├── ppc_rounding_control.hpp │ │ │ ├── sparc_rounding_control.hpp │ │ │ ├── x86_rounding_control.hpp │ │ │ ├── c99sub_rounding_control.hpp │ │ │ └── x86gcc_rounding_control.hpp │ │ │ ├── hw_rounding.hpp │ │ │ ├── rounded_arith.hpp │ │ │ ├── rounded_transc.hpp │ │ │ ├── compare │ │ │ └── explicit.hpp │ │ │ └── ext │ │ │ └── x86_fast_rounding_control.hpp │ │ └── config │ │ ├── abi_prefix.hpp │ │ ├── abi_suffix.hpp │ │ ├── compiler │ │ ├── vacpp.hpp │ │ ├── sunpro_cc.hpp │ │ ├── compaq_cxx.hpp │ │ ├── sgi_mipspro.hpp │ │ └── greenhills.hpp │ │ ├── platform │ │ ├── amigaos.hpp │ │ ├── solaris.hpp │ │ ├── beos.hpp │ │ └── irix.hpp │ │ └── stdlib │ │ ├── vacpp.hpp │ │ └── modena.hpp │ ├── test │ ├── t-eo2dVector.cc │ ├── run_tests │ ├── t-eo.cpp │ ├── boxplot.py │ ├── real_value.h │ ├── binary_value.h │ ├── boxplot_to_pdf.py │ ├── boxplot_to_png.py │ ├── t-eoSecondsElapsedContinue.cpp │ ├── t-eoInt.cpp │ ├── t-eoUniform.cpp │ └── t-eoFunctor.cpp │ ├── ToDo │ ├── tutorial │ ├── html │ │ ├── beige009.jpg │ │ ├── EA_tutorial.jpg │ │ ├── eoOutput.html │ │ ├── eoSelect.html │ │ ├── eoGeneration.html │ │ ├── eoRepresentation.html │ │ ├── eoIo.html │ │ ├── eoStop.html │ │ └── debut.html │ ├── Templates │ │ ├── ChangeLog │ │ ├── configure.ac.tmpl │ │ ├── make_op_MyStruct.h │ │ ├── Makefile.am.top-tmpl │ │ ├── Makefile.am.src-tmpl │ │ └── README.tmpl │ ├── Lesson5 │ │ └── make_op_OneMax.h │ ├── Lesson2 │ │ ├── binary_value.h │ │ └── real_value.h │ ├── Lesson3 │ │ ├── binary_value.h │ │ └── real_value.h │ ├── Lesson4 │ │ ├── real_value.h │ │ └── binary_value.h │ ├── README │ ├── CMakeLists.txt │ ├── Makefile.simple │ └── Lesson1 │ │ └── Makefile.simple │ ├── pc.cmake │ ├── CTestConfig.cmake │ ├── AUTHORS │ ├── app │ └── CMakeLists.txt │ └── PKGBUILD.cmake ├── smp ├── test │ ├── data-topo-stoch │ ├── data-topo-bool │ ├── t-smpScheduler.cpp │ └── t-data.dat ├── CMakeLists.txt └── tutorial │ ├── Lesson4 │ └── CMakeLists.txt │ ├── Lesson2 │ └── CMakeLists.txt │ ├── Lesson3 │ └── CMakeLists.txt │ └── CMakeLists.txt ├── docs ├── img │ ├── eo_ico.png │ ├── eo_logo.png │ ├── fronde.png │ ├── BatchGantt1.png │ ├── eo_logo_48_notext.png │ ├── paradiseo_modules.png │ ├── bindings_ioh_irace.png │ ├── paradiseo_logo_200px.png │ ├── Evolutionary_algorithm.png │ ├── paradiseo_logo_200px_dark.png │ ├── 200px-Graph_betweenness.svg.png │ └── Gallagher_Gaussian_BBOB_f21.png └── frameworks_comparison.ods ├── mo ├── tutorial │ ├── Lesson1 │ │ ├── schemaLS.jpg │ │ ├── lesson1_simpleHC.param │ │ ├── lesson1_firstImprHC.param │ │ ├── lesson1_randomBestHC.param │ │ ├── lesson1_fitContinuator.param │ │ ├── lesson1_iterContinuator.param │ │ ├── lesson1_neutralHC.param │ │ ├── lesson1_evalContinuator.param │ │ ├── lesson1_fullEvalContinuator.param │ │ ├── firstImprHC_maxSAT.param │ │ └── lesson1_combinedContinuator.param │ ├── Lesson6 │ │ ├── multimodalFitnessLandscape.jpg │ │ ├── testRandomWalk.param │ │ ├── testMetropolisHasting.param │ │ ├── fdc.param │ │ ├── adaptiveWalks.param │ │ ├── fitnessCloud.param │ │ ├── densityOfStates.param │ │ ├── sampling.param │ │ ├── autocorrelation.param │ │ ├── testRandomNeutralWalk.param │ │ ├── neutralDegree.param │ │ └── neutralWalk.param │ ├── CMakeLists.txt │ ├── Lesson5 │ │ ├── testILS.param │ │ └── CMakeLists.txt │ ├── Lesson7 │ │ ├── hybridAlgo.param │ │ └── CMakeLists.txt │ ├── Lesson2 │ │ ├── testNeighborhood.param │ │ └── CMakeLists.txt │ ├── Lesson3 │ │ ├── testSimulatedAnnealing.param │ │ └── CMakeLists.txt │ ├── Lesson4 │ │ ├── testSimpleTS.param │ │ └── CMakeLists.txt │ └── Lesson9 │ │ └── CMakeLists.txt ├── CMakeLists.txt └── src │ ├── CMakeLists.txt │ └── memory │ └── moMemory.h ├── problems └── DTLZ │ └── doc │ └── html │ ├── search.idx │ ├── tab_b.gif │ ├── tab_l.gif │ ├── tab_r.gif │ ├── doxygen.png │ ├── ftv2doc.png │ ├── ftv2link.png │ ├── ftv2node.png │ ├── ftv2blank.png │ ├── ftv2mnode.png │ ├── ftv2pnode.png │ ├── ftv2lastnode.png │ ├── ftv2mlastnode.png │ ├── ftv2plastnode.png │ ├── ftv2vertline.png │ ├── ftv2folderclosed.png │ └── ftv2folderopen.png ├── archive_current.sh ├── moeo ├── tutorial │ ├── examples │ │ ├── flowshop │ │ │ └── benchs │ │ │ │ ├── README │ │ │ │ ├── 020_05_01.txt │ │ │ │ └── 020_05_02.txt │ │ └── CMakeLists.txt │ ├── Lesson1 │ │ ├── Sch1.param │ │ └── CMakeLists.txt │ ├── Lesson2 │ │ └── CMakeLists.txt │ ├── Lesson3 │ │ └── CMakeLists.txt │ └── Lesson4 │ │ └── CMakeLists.txt └── CMakeLists.txt ├── CTestConfig.cmake ├── LICENSE ├── .gitignore └── AUTHORS /edo/src/TODO: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /eo/THANKS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /eo/src/pyeo/NEWS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deprecated/eo/THANKS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/NEWS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /eo/src/pyeo/AUTHORS: -------------------------------------------------------------------------------- 1 | 2 | Maarten Keijzer (mkeijzer@cs.vu.nl) 3 | 4 | -------------------------------------------------------------------------------- /edo/distclean: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | rm -rf debug 4 | rm -rf release 5 | -------------------------------------------------------------------------------- /eo/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | debug/ 3 | release/ 4 | *CMakeFiles* 5 | *Makefile 6 | -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/AUTHORS: -------------------------------------------------------------------------------- 1 | 2 | Maarten Keijzer (mkeijzer@cs.vu.nl) 3 | 4 | -------------------------------------------------------------------------------- /smp/test/data-topo-stoch: -------------------------------------------------------------------------------- 1 | .25 .5 .75 2 | .2 .1 .05 3 | .9 .2 .03 4 | -------------------------------------------------------------------------------- /edo/package_deb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd release 4 | cpack -G DEB 5 | cd .. 6 | -------------------------------------------------------------------------------- /edo/package_rpm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd release 4 | cpack -G RPM 5 | cd .. 6 | -------------------------------------------------------------------------------- /eo/doc/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/ChangeLog -------------------------------------------------------------------------------- /docs/img/eo_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/eo_ico.png -------------------------------------------------------------------------------- /docs/img/eo_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/eo_logo.png -------------------------------------------------------------------------------- /docs/img/fronde.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/fronde.png -------------------------------------------------------------------------------- /eo/contrib/eoAged.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/eoAged.h -------------------------------------------------------------------------------- /eo/doc/EO_EA2001.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/EO_EA2001.pdf -------------------------------------------------------------------------------- /eo/doc/LeCreusot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/LeCreusot.pdf -------------------------------------------------------------------------------- /eo/doc/mainpage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/mainpage.html -------------------------------------------------------------------------------- /eo/src/es/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/src/es/ChangeLog -------------------------------------------------------------------------------- /eo/src/other/external_eo: -------------------------------------------------------------------------------- 1 | #include "eoExternalEO.h" 2 | #include "eoExternalOpFunctions.h" 3 | -------------------------------------------------------------------------------- /eo/src/pyeo/README: -------------------------------------------------------------------------------- 1 | 2 | See BUILDING for details on how to build this thing 3 | 4 | 5 | -------------------------------------------------------------------------------- /eo/contrib/eoDrawable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/eoDrawable.h -------------------------------------------------------------------------------- /eo/src/utils/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/src/utils/ChangeLog -------------------------------------------------------------------------------- /eo/src/utils/eoData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/src/utils/eoData.cpp -------------------------------------------------------------------------------- /eo/test/t-eo2dVector.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/test/t-eo2dVector.cc -------------------------------------------------------------------------------- /smp/test/data-topo-bool: -------------------------------------------------------------------------------- 1 | 0 1 0 0 2 | 1 0 1 1 3 | 0 1 0 1 4 | 1 0 1 0 5 | -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/README: -------------------------------------------------------------------------------- 1 | 2 | See BUILDING for details on how to build this thing 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/img/BatchGantt1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/BatchGantt1.png -------------------------------------------------------------------------------- /eo/contrib/MGE/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/MGE/ChangeLog -------------------------------------------------------------------------------- /eo/doc/publications.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/publications.html -------------------------------------------------------------------------------- /eo/doc/sflogo-hammer1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/doc/sflogo-hammer1.jpg -------------------------------------------------------------------------------- /deprecated/eo/doc/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/ChangeLog -------------------------------------------------------------------------------- /deprecated/eo/src/eoObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/eoObject.h -------------------------------------------------------------------------------- /eo/src/utils/eoGnuplot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/src/utils/eoGnuplot.cpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/eoAged.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/eoAged.h -------------------------------------------------------------------------------- /deprecated/eo/src/eoFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/eoFactory.h -------------------------------------------------------------------------------- /deprecated/eo/src/es/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/es/ChangeLog -------------------------------------------------------------------------------- /deprecated/eo/src/ga/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/ga/ChangeLog -------------------------------------------------------------------------------- /docs/frameworks_comparison.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/frameworks_comparison.ods -------------------------------------------------------------------------------- /docs/img/eo_logo_48_notext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/eo_logo_48_notext.png -------------------------------------------------------------------------------- /docs/img/paradiseo_modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/paradiseo_modules.png -------------------------------------------------------------------------------- /eo/contrib/eo-pso-22062007.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/eo-pso-22062007.bz2 -------------------------------------------------------------------------------- /eo/contrib/mathsym/tcc.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/mathsym/tcc.tar.gz -------------------------------------------------------------------------------- /eo/tutorial/html/beige009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/html/beige009.jpg -------------------------------------------------------------------------------- /deprecated/eo/doc/EO_EA2001.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/EO_EA2001.pdf -------------------------------------------------------------------------------- /deprecated/eo/doc/LeCreusot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/LeCreusot.pdf -------------------------------------------------------------------------------- /deprecated/eo/doc/mainpage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/mainpage.html -------------------------------------------------------------------------------- /deprecated/eo/src/eoOpSelMason.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/eoOpSelMason.h -------------------------------------------------------------------------------- /deprecated/eo/src/es/eoEsMutate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/es/eoEsMutate.h -------------------------------------------------------------------------------- /deprecated/eo/src/other/external_eo: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /deprecated/eo/src/utils/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/utils/ChangeLog -------------------------------------------------------------------------------- /docs/img/bindings_ioh_irace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/bindings_ioh_irace.png -------------------------------------------------------------------------------- /docs/img/paradiseo_logo_200px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/paradiseo_logo_200px.png -------------------------------------------------------------------------------- /eo/ToDo: -------------------------------------------------------------------------------- 1 | See the code-documentation for details. 2 | General ToDos should be documented at the end of doc/index.h. 3 | -------------------------------------------------------------------------------- /eo/src/pyeo/test/run_tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in *.py 4 | do 5 | python2 $i > /dev/null 6 | 7 | done 8 | -------------------------------------------------------------------------------- /eo/tutorial/Templates/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Templates/ChangeLog -------------------------------------------------------------------------------- /eo/tutorial/html/EA_tutorial.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/html/EA_tutorial.jpg -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/schemaLS.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/mo/tutorial/Lesson1/schemaLS.jpg -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/search.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/search.idx -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/tab_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/tab_b.gif -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/tab_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/tab_l.gif -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/tab_r.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/tab_r.gif -------------------------------------------------------------------------------- /deprecated/eo/contrib/MGE/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/MGE/ChangeLog -------------------------------------------------------------------------------- /deprecated/eo/contrib/eoDrawable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/eoDrawable.h -------------------------------------------------------------------------------- /deprecated/eo/doc/publications.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/publications.html -------------------------------------------------------------------------------- /deprecated/eo/src/utils/eoData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/utils/eoData.cpp -------------------------------------------------------------------------------- /deprecated/eo/test/t-eo2dVector.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/test/t-eo2dVector.cc -------------------------------------------------------------------------------- /docs/img/Evolutionary_algorithm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/Evolutionary_algorithm.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/doxygen.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2doc.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2link.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2node.png -------------------------------------------------------------------------------- /deprecated/eo/ToDo: -------------------------------------------------------------------------------- 1 | See the code-documentation for details. 2 | General ToDos should be documented at the end of doc/index.h. 3 | -------------------------------------------------------------------------------- /deprecated/eo/doc/sflogo-hammer1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/doc/sflogo-hammer1.jpg -------------------------------------------------------------------------------- /deprecated/eo/src/eoCombinedContinue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/eoCombinedContinue.h -------------------------------------------------------------------------------- /deprecated/eo/src/utils/eoGnuplot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/src/utils/eoGnuplot.cpp -------------------------------------------------------------------------------- /docs/img/paradiseo_logo_200px_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/paradiseo_logo_200px_dark.png -------------------------------------------------------------------------------- /eo/contrib/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/config/abi_prefix.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/config/abi_suffix.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval.hpp -------------------------------------------------------------------------------- /eo/contrib/mathsym/tcc_patched.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/mathsym/tcc_patched.tar.gz -------------------------------------------------------------------------------- /eo/tutorial/Lesson5/make_op_OneMax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Lesson5/make_op_OneMax.h -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2blank.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2mnode.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2pnode.png -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/tcc.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/mathsym/tcc.tar.gz -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/test/run_tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in *.py 4 | do 5 | python2 $i > /dev/null 6 | 7 | done 8 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/beige009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/html/beige009.jpg -------------------------------------------------------------------------------- /docs/img/200px-Graph_betweenness.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/200px-Graph_betweenness.svg.png -------------------------------------------------------------------------------- /docs/img/Gallagher_Gaussian_BBOB_f21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/docs/img/Gallagher_Gaussian_BBOB_f21.png -------------------------------------------------------------------------------- /eo/tutorial/Templates/configure.ac.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Templates/configure.ac.tmpl -------------------------------------------------------------------------------- /eo/tutorial/Templates/make_op_MyStruct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Templates/make_op_MyStruct.h -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2lastnode.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2mlastnode.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2plastnode.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2vertline.png -------------------------------------------------------------------------------- /deprecated/eo/contrib/eo-pso-22062007.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/eo-pso-22062007.bz2 -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/Templates/ChangeLog -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/EA_tutorial.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/html/EA_tutorial.jpg -------------------------------------------------------------------------------- /eo/contrib/boost/config/compiler/vacpp.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/config/compiler/vacpp.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/arith.hpp -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2folderclosed.png -------------------------------------------------------------------------------- /problems/DTLZ/doc/html/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/problems/DTLZ/doc/html/ftv2folderopen.png -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/arith2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/arith2.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/compare.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/compare.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/limits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/limits.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/transc.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/utility.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/tcc_patched.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/mathsym/tcc_patched.tar.gz -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson5/make_op_OneMax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/Lesson5/make_op_OneMax.h -------------------------------------------------------------------------------- /eo/contrib/boost/config/compiler/sunpro_cc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/config/compiler/sunpro_cc.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/checking.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/checking.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/constants.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/interval.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/rounding.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/config/abi_prefix.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/config/abi_suffix.hpp -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/configure.ac.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/Templates/configure.ac.tmpl -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/bugs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/bugs.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/hw_rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/hw_rounding.hpp -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/css/eompi.css: -------------------------------------------------------------------------------- 1 | .changed 2 | { 3 | color: green; 4 | } 5 | 6 | .specific 7 | { 8 | color: red; 9 | } 10 | -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/img/serialisation.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Parallelization/img/serialisation.dia -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/img/serialisation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Parallelization/img/serialisation.png -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/multimodalFitnessLandscape.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/mo/tutorial/Lesson6/multimodalFitnessLandscape.jpg -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/compiler/vacpp.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/config/compiler/vacpp.hpp -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/make_op_MyStruct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/tutorial/Templates/make_op_MyStruct.h -------------------------------------------------------------------------------- /edo/build_gcc_linux_debug: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | mkdir -p debug 4 | cd debug 5 | cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_EIGEN=1 .. 6 | make 7 | cd .. 8 | -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/rounded_arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/rounded_arith.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/rounded_transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/rounded_transc.hpp -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/img/generic_parallel.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Parallelization/img/generic_parallel.dia -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/img/generic_parallel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/tutorial/Parallelization/img/generic_parallel.png -------------------------------------------------------------------------------- /archive_current.sh: -------------------------------------------------------------------------------- 1 | today=`date --iso-8601` 2 | name=paradiseo_$today 3 | git archive --prefix=$name/ --format zip master > $name.zip 4 | echo $name.zip 5 | 6 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/arith.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/arith2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/arith2.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/limits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/limits.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/transc.hpp -------------------------------------------------------------------------------- /edo/build_gcc_linux_eigen_debug: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | mkdir -p debug 4 | cd debug 5 | cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_EIGEN=1 .. 6 | make 7 | cd .. 8 | -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/compare/explicit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/compare/explicit.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/test_input.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/test_input.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/compiler/sunpro_cc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/config/compiler/sunpro_cc.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/checking.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/checking.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/compare.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/compare.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/constants.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/interval.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/rounding.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/utility.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/bugs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/bugs.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/hw_rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/hw_rounding.hpp -------------------------------------------------------------------------------- /moeo/tutorial/examples/flowshop/benchs/README: -------------------------------------------------------------------------------- 1 | Further benchmarks for the bi-objective flow-shop scheduling problem are available at http://www.lifl.fr/~liefooga/benchmarks/ -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/rounded_arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/rounded_arith.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/rounded_transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/rounded_transc.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp -------------------------------------------------------------------------------- /eo/test/run_tests: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "Testing -h" 4 | ./t-eoCheckpointing -h 5 | 6 | echo "Finished" 7 | 8 | #TODO test if an error occured 9 | echo "Ok" 10 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/compare/explicit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/compare/explicit.hpp -------------------------------------------------------------------------------- /edo/build_gcc_linux_release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | mkdir -p release 4 | cd release 5 | cmake -DWITH_EIGEN=1 .. 6 | #cmake -DWITH_BOOST=1 .. 7 | 8 | make 9 | cd .. 10 | -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/test_input.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/test_input.hpp -------------------------------------------------------------------------------- /deprecated/eo/test/run_tests: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "Testing -h" 4 | ./t-eoCheckpointing -h 5 | 6 | echo "Finished" 7 | 8 | #TODO test if an error occured 9 | echo "Ok" 10 | -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp -------------------------------------------------------------------------------- /eo/tutorial/Templates/Makefile.am.top-tmpl: -------------------------------------------------------------------------------- 1 | SUBDIRS = src 2 | 3 | 4 | dnl Local Variables: 5 | dnl coding: iso-8859-1 6 | dnl mode: makefile-automake 7 | dnl fill-column: 80 8 | dnl End: 9 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/Makefile.am.top-tmpl: -------------------------------------------------------------------------------- 1 | SUBDIRS = src 2 | 3 | 4 | dnl Local Variables: 5 | dnl coding: iso-8859-1 6 | dnl mode: makefile-automake 7 | dnl fill-column: 80 8 | dnl End: 9 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojhan/paradiseo/HEAD/deprecated/eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp -------------------------------------------------------------------------------- /eo/src/serial/json_example: -------------------------------------------------------------------------------- 1 | {"a":"b", 2 | "obj": 3 | {"obj_a":"obj_}b","subobj_a": 4 | {"subk":"subv"} 5 | }, 6 | "c":"d", 7 | "array":["1","2",{"\"array\"_obj\"":"array_ov]"}, ["3"], "4"] 8 | } 9 | -------------------------------------------------------------------------------- /eo/pc.cmake: -------------------------------------------------------------------------------- 1 | # Package Information for pkg-config 2 | Name: @PACKAGE_NAME@ 3 | Description: @PACKAGE_NAME@ 4 | Version: @PROJECT_VERSION@ 5 | Libs: -L@PCPREFIX@/lib @PCFLAGS@ 6 | Cflags: -I@PCPREFIX@/include/@PCINCLUDEDIR@ 7 | -------------------------------------------------------------------------------- /deprecated/eo/pc.cmake: -------------------------------------------------------------------------------- 1 | # Package Information for pkg-config 2 | Name: @PACKAGE_NAME@ 3 | Description: @PACKAGE_NAME@ 4 | Version: @PROJECT_VERSION@ 5 | Libs: -L@PCPREFIX@/lib @PCFLAGS@ 6 | Cflags: -I@PCPREFIX@/include/@PCINCLUDEDIR@ 7 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/README.TCC: -------------------------------------------------------------------------------- 1 | 2 | To refrain tcc from searching for libtcc1.a in the path, uncomment 3 | out the lines looking for that in 'tccelf.c'. Search for libtcc1 and uncomment 4 | these two lines. All should be well. 5 | 6 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/README.TCC: -------------------------------------------------------------------------------- 1 | 2 | To refrain tcc from searching for libtcc1.a in the path, uncomment 3 | out the lines looking for that in 'tccelf.c'. Search for libtcc1 and uncomment 4 | these two lines. All should be well. 5 | 6 | -------------------------------------------------------------------------------- /CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | set(CTEST_PROJECT_NAME "ParadisEO") 2 | set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") 3 | 4 | set(CTEST_DROP_METHOD "http") 5 | set(CTEST_DROP_SITE "cdash.inria.fr") 6 | set(CTEST_DROP_LOCATION "/CDash/submit.php?project=ParadisEO") 7 | set(CTEST_DROP_SITE_CDASH TRUE) 8 | -------------------------------------------------------------------------------- /eo/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | set(CTEST_PROJECT_NAME "ParadisEO") 2 | set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") 3 | 4 | set(CTEST_DROP_METHOD "http") 5 | set(CTEST_DROP_SITE "cdash.inria.fr") 6 | set(CTEST_DROP_LOCATION "/CDash/submit.php?project=ParadisEO") 7 | set(CTEST_DROP_SITE_CDASH TRUE) 8 | -------------------------------------------------------------------------------- /moeo/tutorial/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(flowshop) 6 | 7 | -------------------------------------------------------------------------------- /deprecated/eo/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | set(CTEST_PROJECT_NAME "ParadisEO") 2 | set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") 3 | 4 | set(CTEST_DROP_METHOD "http") 5 | set(CTEST_DROP_SITE "cdash.inria.fr") 6 | set(CTEST_DROP_LOCATION "/CDash/submit.php?project=ParadisEO") 7 | set(CTEST_DROP_SITE_CDASH TRUE) 8 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/alpha/run_irace_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | date -Iseconds 4 | echo "STARTS" 5 | 6 | for r in $(seq 15); do 7 | echo "Run $r/15"; 8 | date -Iseconds 9 | ./run_irace_parallel-batch.sh 10 | date -Iseconds 11 | done 12 | 13 | echo "DONE" 14 | date -Iseconds 15 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/gamma/run_irace.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Tue Dec 14 12:16:17 2021 5 | 6 | @author: labeiros 7 | """ 8 | 9 | import sys 10 | 11 | print('Number of arguments:', len(sys.argv), 'arguments.') 12 | print('Argument List:', str(sys.argv)) 13 | -------------------------------------------------------------------------------- /eo/test/t-eo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef EO Chrom; 4 | 5 | int main() 6 | { 7 | Chrom chrom1, chrom2; 8 | 9 | // EO objects can be printed with stream operators 10 | std::cout << "chrom1 = " << chrom1 << std::endl 11 | << "chrom2 = " << chrom2 << std::endl; 12 | 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/css/deck.hash.css: -------------------------------------------------------------------------------- 1 | .deck-container .deck-permalink { 2 | display: none; 3 | position: absolute; 4 | z-index: 4; 5 | bottom: 30px; 6 | right: 0; 7 | width: 48px; 8 | text-align: center; 9 | } 10 | 11 | .no-history .deck-container:hover .deck-permalink { 12 | display: block; 13 | } 14 | -------------------------------------------------------------------------------- /deprecated/eo/test/t-eo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef EO Chrom; 4 | 5 | int main() 6 | { 7 | Chrom chrom1, chrom2; 8 | 9 | // EO objects can be printed with stream operators 10 | std::cout << "chrom1 = " << chrom1 << std::endl 11 | << "chrom2 = " << chrom2 << std::endl; 12 | 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /eo/src/eoPersistent.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | #include "eoPersistent.h" 7 | 8 | //Implementation of these objects 9 | 10 | 11 | std::istream & operator >> ( std::istream& _is, eoPersistent& _o ) { 12 | _o.readFrom(_is); 13 | return _is; 14 | } 15 | -------------------------------------------------------------------------------- /deprecated/eo/src/eoPersistent.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | #include 7 | 8 | //Implementation of these objects 9 | 10 | 11 | std::istream & operator >> ( std::istream& _is, eoPersistent& _o ) { 12 | _o.readFrom(_is); 13 | return _is; 14 | } 15 | -------------------------------------------------------------------------------- /edo/edo.pc: -------------------------------------------------------------------------------- 1 | # Package Information for pkg-config 2 | 3 | prefix=/usr 4 | exec_prefix=${prefix} 5 | libdir=${exec_prefix}/lib 6 | includedir=${prefix}/include/edo 7 | 8 | Name: Evolving Distribution Objects 9 | Description: Evolving Distribution Objects 10 | Version: 1.0 11 | Libs: -L${libdir} -ledo -ledoutils 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/test/test_diff.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() { 8 | 9 | Sym v = SymConst(1.2); 10 | 11 | Sym g = exp(-sqr(v)); 12 | 13 | cout << g << endl; 14 | cout << differentiate(g, v.token()) << endl; 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /deprecated/eo/AUTHORS: -------------------------------------------------------------------------------- 1 | Pedro Angel Castillo Valdivieso 2 | Juan Julian Merelo Guervos 3 | Victor Manuel Rivas Santos 4 | Gustavo Romero Lopez 5 | Maarten Keijzer 6 | Marc Schoenauer 7 | Jeroen Eggermont 8 | Jochen K�pper 9 | Thomas Legrand 10 | Clive Canape 11 | Johann Dréo 12 | Caner Candan 13 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/test/test_diff.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace std; 6 | 7 | int main() { 8 | 9 | Sym v = SymConst(1.2); 10 | 11 | Sym g = exp(-sqr(v)); 12 | 13 | cout << g << endl; 14 | cout << differentiate(g, v.token()) << endl; 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /edo/application/eda/eda.param: -------------------------------------------------------------------------------- 1 | --rho=0 # -p : 7 | 8 | #include "eoFunctorStore.h" 9 | #include "eoFunctor.h" 10 | 11 | 12 | /// clears the memory 13 | eoFunctorStore::~eoFunctorStore() 14 | { 15 | for( std::size_t i = 0; i < vec.size(); ++i) { 16 | delete vec[i]; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /deprecated/eo/src/eoFunctorStore.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | #include 7 | 8 | #include 9 | #include 10 | 11 | 12 | /// clears the memory 13 | eoFunctorStore::~eoFunctorStore() 14 | { 15 | for( std::size_t i = 0; i < vec.size(); ++i) { 16 | delete vec[i]; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /eo/tutorial/Templates/Makefile.am.src-tmpl: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = MyStruct 2 | 3 | noinst_HEADERS = eoMyStruct.h \ 4 | eoMyStructEvalFunc.h \ 5 | eoMyStructInit.h \ 6 | eoMyStructMutation.h \ 7 | eoMyStructQuadCrossover.h 8 | 9 | MyStruct_SOURCES = MyStructEA.cpp 10 | 11 | 12 | dnl Local Variables: 13 | dnl coding: iso-8859-1 14 | dnl mode: makefile-automake 15 | dnl fill-column: 80 16 | dnl End: 17 | -------------------------------------------------------------------------------- /eo/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Where must cmake go now ? 3 | ###################################################################################### 4 | 5 | #ADD_SUBDIRECTORY(gprop) 6 | #ADD_SUBDIRECTORY(gpsymreg) 7 | ADD_SUBDIRECTORY(mastermind) 8 | ###################################################################################### 9 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/Makefile.am.src-tmpl: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = MyStruct 2 | 3 | noinst_HEADERS = eoMyStruct.h \ 4 | eoMyStructEvalFunc.h \ 5 | eoMyStructInit.h \ 6 | eoMyStructMutation.h \ 7 | eoMyStructQuadCrossover.h 8 | 9 | MyStruct_SOURCES = MyStructEA.cpp 10 | 11 | 12 | dnl Local Variables: 13 | dnl coding: iso-8859-1 14 | dnl mode: makefile-automake 15 | dnl fill-column: 80 16 | dnl End: 17 | -------------------------------------------------------------------------------- /deprecated/eo/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Where must cmake go now ? 3 | ###################################################################################### 4 | 5 | #ADD_SUBDIRECTORY(gprop) 6 | #ADD_SUBDIRECTORY(gpsymreg) 7 | ADD_SUBDIRECTORY(mastermind) 8 | ###################################################################################### 9 | -------------------------------------------------------------------------------- /eo/test/mpi/experiments.json: -------------------------------------------------------------------------------- 1 | { 2 | "experiments":[ 3 | {"size":"10", "packet_size":"1", "seed":"1337", "distribution":{"name":"normal", "mean":"500", "stddev":"100"}, "worker_print_waiting_time":"1", "filename":"exp1.result.txt"}, 4 | {"size":"10", "packet_size":"1", "seed":"1337", "distribution":{"name":"normal", "mean":"100", "stddev":"20"}, "worker_print_waiting_time":"1", "filename":"exp2.result.txt"} 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /eo/test/boxplot.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 2: 8 | print 'Usage: boxplot.py [Results files, ...]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv)): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.show() 16 | -------------------------------------------------------------------------------- /edo/NEWS: -------------------------------------------------------------------------------- 1 | * current release: 2 | 3 | * release 1.3.0 (2011-07-24) 4 | - alternative implementation of the multi-normal operators using the Eigen3 library 5 | 6 | * release 0.0 (2011-09-15) 7 | - basic design for estimation of distribution algorithms and, more generally for randomized search heuristics 8 | - continuous EDA example 9 | - EDA using multi-normal distribution, implementation using the boost::ublas library 10 | 11 | -------------------------------------------------------------------------------- /deprecated/eo/test/boxplot.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 2: 8 | print 'Usage: boxplot.py [Results files, ...]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv)): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.show() 16 | -------------------------------------------------------------------------------- /eo/src/ga/ChangeLog: -------------------------------------------------------------------------------- 1 | 2019-06-29 Ronaldd Pinho 2 | 3 | * all files: Change from absolute to relative include. 4 | 5 | 2007-08-21 Jochen Küpper 6 | 7 | * eoBitOp.h (eoNPtsBitXover::operator()): Make sure bit is within 8 | allocated length of vector points: [0, max_size). 9 | 10 | 11 | * Local Variables: 12 | * coding: iso-8859-1 13 | * mode: flyspell 14 | * fill-column: 80 15 | * End: 16 | -------------------------------------------------------------------------------- /eo/src/utils/eoRNG.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | #include 7 | #include "eoRNG.h" 8 | 9 | // initialize static constants 10 | const uint32_t eoRng::K(0x9908B0DFU); 11 | const int eoRng::M(397); 12 | const int eoRng::N(624); 13 | 14 | namespace eo 15 | { 16 | // global random number generator object 17 | eoRng rng(static_cast(time(0))); 18 | } 19 | -------------------------------------------------------------------------------- /edo/test/boxplot.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from pylab import * 4 | 5 | FILE_LOCATIONS = 'means_distances_results/files_description.txt' 6 | 7 | data = [] 8 | 9 | locations = [ line.split()[0] for line in open( FILE_LOCATIONS ) ] 10 | 11 | for cur_file in locations: 12 | data.append( [ float(line.split()[7]) for line in open( cur_file ).readlines() ] ) 13 | 14 | print locations 15 | #print data 16 | 17 | boxplot( data ) 18 | 19 | show() 20 | -------------------------------------------------------------------------------- /deprecated/eo/src/utils/eoRNG.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | #include 7 | #include "eoRNG.h" 8 | 9 | // initialize static constants 10 | const uint32_t eoRng::K(0x9908B0DFU); 11 | const int eoRng::M(397); 12 | const int eoRng::N(624); 13 | 14 | namespace eo 15 | { 16 | // global random number generator object 17 | eoRng rng(static_cast(time(0))); 18 | } 19 | -------------------------------------------------------------------------------- /edo/install.cmake-dist: -------------------------------------------------------------------------------- 1 | # Variables to set 2 | 3 | # directory we need to build project 4 | SET(EO_DIR "<>" CACHE PATH "EO directory" FORCE) 5 | 6 | # automagically set parameters, do not edit 7 | 8 | SET(EO_INCLUDE_DIRS "${EO_DIR}/src" CACHE PATH "EO include directory" FORCE) 9 | SET(EO_LIBRARY_DIRS "${EO_DIR}/release/lib" CACHE PATH "EO library directory" FORCE) 10 | SET(EO_LIBRARIES eoutils eo es ga cma gcov) # do not use quotes around this list or it will fail 11 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoOutput.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Output 5 | 6 | 7 | 8 |

Output

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:29:19 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /eo/test/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | 4 | 5 | /** Just a simple function that takes an eoEsBase and sets the fitnes 6 | to sphere 7 | @param _ind vector 8 | */ 9 | 10 | double real_value(const std::vector& _ind) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _ind.size(); i++) 14 | sum += _ind[i] * _ind[i]; 15 | return sum/_ind.size(); 16 | } 17 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoSelect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Selection 5 | 6 | 7 | 8 |

Selection

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 17:51:55 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoOutput.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Output 5 | 6 | 7 | 8 |

Output

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:29:19 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /eo/test/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just the simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | 10 | template double binary_value(const Chrom& _chrom) 11 | { 12 | double sum = 0.0; 13 | for (unsigned i=0; i<_chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson2/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | // INIT 10 | double binary_value(const std::vector& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson3/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | // INIT 10 | double binary_value(const std::vector& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson4/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | 4 | 5 | /** Just a simple function that takes an eoEsBase and sets the fitnes 6 | to sphere 7 | @param _ind vector 8 | */ 9 | 10 | double real_value(const std::vector& _ind) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _ind.size(); i++) 14 | sum += _ind[i] * _ind[i]; 15 | return sqrt(sum); 16 | } 17 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoGeneration.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generation 5 | 6 | 7 | 8 |

Generation

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:29:29 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /deprecated/eo/test/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | 4 | 5 | /** Just a simple function that takes an eoEsBase and sets the fitnes 6 | to sphere 7 | @param _ind vector 8 | */ 9 | 10 | double real_value(const std::vector& _ind) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _ind.size(); i++) 14 | sum += _ind[i] * _ind[i]; 15 | return sum/_ind.size(); 16 | } 17 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoSelect.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Selection 5 | 6 | 7 | 8 |

Selection

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 17:51:55 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pA/default.instances: -------------------------------------------------------------------------------- 1 | ## This is an example of specifying instances with a file. 2 | 3 | # Each line is an instance relative to trainInstancesDir 4 | # (see scenario.txt.tmpl) and an optional sequence of instance-specific 5 | # parameters that will be passed to target-runnerx when invoked on that 6 | # instance. 7 | 8 | 0 9 | 1 10 | 2 11 | 3 12 | 4 13 | 5 14 | 6 15 | 7 16 | 8 17 | 9 18 | 10 19 | 11 20 | 12 21 | 13 22 | 14 23 | 15 24 | 16 25 | 17 26 | 18 27 | 28 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/test/test_simplify.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main() { 7 | 8 | Sym c1 = SymConst(0.4); 9 | Sym c2 = SymConst(0.3); 10 | Sym v1 = SymVar(0); 11 | 12 | Sym expr = (c1 + c2) * ( (c1 + c2) * v1); 13 | 14 | cout << expr << endl; 15 | cout << simplify(expr) << endl; 16 | 17 | Sym dv = differentiate( exp(expr) , v1.token()); 18 | cout << dv << endl; 19 | cout << simplify(dv) << endl; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /eo/tutorial/README: -------------------------------------------------------------------------------- 1 | Eo Tutorial - corresponding to EO version 0.9.1+ 2 | 3 | To start the tutorial, read index.html in your favorite browser. 4 | 5 | Many things are missing, including many solutions for the exercises, 6 | the introduction to EC and most of the Component-based pages. 7 | More important, all examples of this tutorial have only been tested 8 | on a Linux computer, and the Makefile will not work with MS-Windows 9 | systems. Any help is welcome! 10 | 11 | Be patient ... 12 | evoMarc 13 | -------------------------------------------------------------------------------- /mo/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include lessons subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(Lesson1) 6 | add_subdirectory(Lesson2) 7 | add_subdirectory(Lesson3) 8 | add_subdirectory(Lesson4) 9 | add_subdirectory(Lesson5) 10 | add_subdirectory(Lesson6) 11 | add_subdirectory(Lesson7) 12 | add_subdirectory(Lesson9) 13 | 14 | -------------------------------------------------------------------------------- /deprecated/eo/test/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just the simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | 10 | template double binary_value(const Chrom& _chrom) 11 | { 12 | double sum = 0.0; 13 | for (unsigned i=0; i<_chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson2/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | // INIT 10 | double binary_value(const std::vector& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson3/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | // INIT 10 | double binary_value(const std::vector& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | sum += _chrom[i]; 15 | return sum; 16 | } 17 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson4/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | 4 | 5 | /** Just a simple function that takes an eoEsBase and sets the fitnes 6 | to sphere 7 | @param _ind vector 8 | */ 9 | 10 | double real_value(const std::vector& _ind) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _ind.size(); i++) 14 | sum += _ind[i] * _ind[i]; 15 | return sqrt(sum); 16 | } 17 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/README: -------------------------------------------------------------------------------- 1 | Eo Tutorial - corresponding to EO version 0.9.1+ 2 | 3 | To start the tutorial, read index.html in your favorite browser. 4 | 5 | Many things are missing, including many solutions for the exercises, 6 | the introduction to EC and most of the Component-based pages. 7 | More important, all examples of this tutorial have only been tested 8 | on a Linux computer, and the Makefile will not work with MS-Windows 9 | systems. Any help is welcome! 10 | 11 | Be patient ... 12 | evoMarc 13 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoGeneration.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generation 5 | 6 | 7 | 8 |

Generation

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:29:29 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoRepresentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Representation 5 | 6 | 7 | 8 |

Representation

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:28:01 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/test/test_simplify.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main() { 7 | 8 | Sym c1 = SymConst(0.4); 9 | Sym c2 = SymConst(0.3); 10 | Sym v1 = SymVar(0); 11 | 12 | Sym expr = (c1 + c2) * ( (c1 + c2) * v1); 13 | 14 | cout << expr << endl; 15 | cout << simplify(expr) << endl; 16 | 17 | Sym dv = differentiate( exp(expr) , v1.token()); 18 | cout << dv << endl; 19 | cout << simplify(dv) << endl; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoRepresentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Representation 5 | 6 | 7 | 8 |

Representation

9 | 10 | 11 | 12 |
13 |
Marc Schoenauer
14 | 15 | 16 | Last modified: Mon Oct 30 19:28:01 CET 2000 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /eo/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Where must cmake go now ? 3 | ###################################################################################### 4 | 5 | ADD_SUBDIRECTORY(Lesson1) 6 | ADD_SUBDIRECTORY(Lesson2) 7 | ADD_SUBDIRECTORY(Lesson3) 8 | ADD_SUBDIRECTORY(Lesson4) 9 | ADD_SUBDIRECTORY(Lesson5) 10 | ADD_SUBDIRECTORY(Lesson6) 11 | 12 | ###################################################################################### 13 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/run_exp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | lexp=(300 600) 3 | levals=(100 500) 4 | myscratchpath=/scratchbeta/$USER 5 | myhome=${HOME} 6 | for exp in ${lexp[@]} ; do 7 | for evals in ${levals[@]} ; do 8 | bash ./planF/riaF.sh ${myhome} ${myscratchpath} ${exp} ${evals} 9 | bash ./planO/riaO.sh ${myhome} ${myscratchpath} ${exp} ${evals} 10 | bash ./planA/riaA.sh ${myhome} ${myscratchpath} ${exp} ${evals} 11 | done 12 | done 13 | bash testrandom.sh ${myhome} ${scratchpath} ${levals[@]} 14 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson5/testILS.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276172246 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testILS.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson7/hybridAlgo.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276172440 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./hybridAlgo.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_simpleHC.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179075 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_simpleHC.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson2/testNeighborhood.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276172025 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testNeighborhood.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_firstImprHC.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179046 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_firstImprHC.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_randomBestHC.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179038 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_randomBestHC.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson3/testSimulatedAnnealing.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276172057 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testSimulatedAnnealing.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pO/fastga.param: -------------------------------------------------------------------------------- 1 | # name switch type range 2 | # continuator "--continuator=" c (0) 3 | crossoverrate "--crossover-rate=" r (0,1) 4 | crossselector "--cross-selector=" c (0,1,2,3,4,5,6) 5 | # aftercrossselector "--aftercross-selector=" c (0) 6 | crossover "--crossover=" c (0,1,2,3,4,5,6,7,8,9) 7 | mutationrate "--mutation-rate=" r (0,1) 8 | mutselector "--mut-selector=" c (0,1,2,3,4,5,6) 9 | mutation "--mutation=" c (0,1,2,3,4,5,6,7,8,9,10) 10 | replacement "--replacement=" c (0,1,2,3,4,5,6,7,8,9,10) 11 | -------------------------------------------------------------------------------- /eo/test/boxplot_to_pdf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 3: 8 | print 'Usage: boxplot_to_pdf.py [Results files, ...] [output file in .pdf]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv) - 1): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.savefig( sys.argv[ len(sys.argv) - 1 ], format='pdf', transparent=True ) 16 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson2/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | /** Just a simple function that takes an vector and sets the fitnes 4 | to the sphere function. Please use doubles not float!!! 5 | @param _ind A floatingpoint vector 6 | */ 7 | 8 | // INIT 9 | double real_value(const std::vector& _ind) 10 | { 11 | double sum = 0; 12 | for (unsigned i = 0; i < _ind.size(); i++) 13 | { 14 | sum += _ind[i] * _ind[i]; 15 | } 16 | return -sum; 17 | } 18 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson3/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | /** Just a simple function that takes an vector and sets the fitnes 4 | to the sphere function. Please use doubles not float!!! 5 | @param _ind A floatingpoint vector 6 | */ 7 | 8 | // INIT 9 | double real_value(const std::vector& _ind) 10 | { 11 | double sum = 0; 12 | for (unsigned i = 0; i < _ind.size(); i++) 13 | { 14 | sum += _ind[i] * _ind[i]; 15 | } 16 | return sum; 17 | } 18 | -------------------------------------------------------------------------------- /deprecated/eo/test/boxplot_to_pdf.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 3: 8 | print 'Usage: boxplot_to_pdf.py [Results files, ...] [output file in .pdf]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv) - 1): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.savefig( sys.argv[ len(sys.argv) - 1 ], format='pdf', transparent=True ) 16 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson2/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | /** Just a simple function that takes an vector and sets the fitnes 4 | to the sphere function. Please use doubles not float!!! 5 | @param _ind A floatingpoint vector 6 | */ 7 | 8 | // INIT 9 | double real_value(const std::vector& _ind) 10 | { 11 | double sum = 0; 12 | for (unsigned i = 0; i < _ind.size(); i++) 13 | { 14 | sum += _ind[i] * _ind[i]; 15 | } 16 | return -sum; 17 | } 18 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson3/real_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | //----------------------------------------------------------------------------- 3 | /** Just a simple function that takes an vector and sets the fitnes 4 | to the sphere function. Please use doubles not float!!! 5 | @param _ind A floatingpoint vector 6 | */ 7 | 8 | // INIT 9 | double real_value(const std::vector& _ind) 10 | { 11 | double sum = 0; 12 | for (unsigned i = 0; i < _ind.size(); i++) 13 | { 14 | sum += _ind[i] * _ind[i]; 15 | } 16 | return sum; 17 | } 18 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/eval/MultiFuncs.cpp: -------------------------------------------------------------------------------- 1 | 2 | namespace multi_function { 3 | 4 | double plus(arg_ptr args) { 5 | return *args[0] + *args[1]; 6 | } 7 | 8 | double mult(arg_ptr args) { 9 | return *args[0] * *args[1]; 10 | } 11 | 12 | double min(arg_ptr args) { 13 | return -**args; 14 | } 15 | 16 | double inv(arg_ptr args) { 17 | return 1 / **args; 18 | } 19 | 20 | //template class F { public: double operator()(double a) { return f(a); } }; 21 | 22 | double exp(arg_ptr args) { 23 | return ::exp(**args); 24 | } 25 | 26 | } // namespace 27 | -------------------------------------------------------------------------------- /eo/test/boxplot_to_png.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 3: 8 | print 'Usage: boxplot_to_png.py [Results files, ...] [output file in .png]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv) - 1): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.savefig( sys.argv[ len(sys.argv) - 1 ], format='png', transparent=True, papertype='a0' ) 16 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/eval/MultiFuncs.cpp: -------------------------------------------------------------------------------- 1 | 2 | namespace multi_function { 3 | 4 | double plus(arg_ptr args) { 5 | return *args[0] + *args[1]; 6 | } 7 | 8 | double mult(arg_ptr args) { 9 | return *args[0] * *args[1]; 10 | } 11 | 12 | double min(arg_ptr args) { 13 | return -**args; 14 | } 15 | 16 | double inv(arg_ptr args) { 17 | return 1 / **args; 18 | } 19 | 20 | //template class F { public: double operator()(double a) { return f(a); } }; 21 | 22 | double exp(arg_ptr args) { 23 | return ::exp(**args); 24 | } 25 | 26 | } // namespace 27 | -------------------------------------------------------------------------------- /deprecated/eo/test/boxplot_to_png.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import pylab 4 | import sys 5 | 6 | if __name__ == '__main__': 7 | if len(sys.argv) < 3: 8 | print 'Usage: boxplot_to_png.py [Results files, ...] [output file in .png]' 9 | sys.exit() 10 | 11 | for i in range(1, len(sys.argv) - 1): 12 | pylab.boxplot( [ [ float(value) for value in line.split() ] for line in open( sys.argv[i] ).readlines() ] ) 13 | 14 | pylab.xlabel('iterations') 15 | pylab.savefig( sys.argv[ len(sys.argv) - 1 ], format='png', transparent=True, papertype='a0' ) 16 | -------------------------------------------------------------------------------- /eo/src/eoEvalPrint.h: -------------------------------------------------------------------------------- 1 | 2 | template< class EOT> 3 | class eoEvalPrint: public eoEvalFunc 4 | { 5 | protected: 6 | std::ostream& _out; 7 | eoEvalFunc& _eval; 8 | std::string _sep; 9 | 10 | public: 11 | 12 | eoEvalPrint(eoEvalFunc& eval, std::ostream& out=std::cout, std::string sep="\n") : 13 | _out(out), 14 | _eval(eval), 15 | _sep(sep) 16 | {} 17 | 18 | void operator()( EOT& sol ) 19 | { 20 | _eval(sol); 21 | _out << sol << _sep; 22 | } 23 | }; 24 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Where must cmake go now ? 3 | ###################################################################################### 4 | 5 | IF(ENABLE_EO_TUTORIAL) 6 | 7 | ADD_SUBDIRECTORY(Lesson1) 8 | ADD_SUBDIRECTORY(Lesson2) 9 | ADD_SUBDIRECTORY(Lesson3) 10 | ADD_SUBDIRECTORY(Lesson4) 11 | ADD_SUBDIRECTORY(Lesson5) 12 | ADD_SUBDIRECTORY(Lesson6) 13 | 14 | ENDIF() 15 | 16 | ###################################################################################### 17 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/stdlib/vacpp.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #if __IBMCPP__ <= 501 9 | # define BOOST_NO_STD_ALLOCATOR 10 | #endif 11 | 12 | #define BOOST_HAS_MACRO_USE_FACET 13 | #define BOOST_NO_STD_MESSAGES 14 | 15 | #define BOOST_STDLIB "Visual Age default standard library" 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /eo/test/t-eoSecondsElapsedContinue.cpp: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | class Dummy : public EO {}; 11 | 12 | int main() { 13 | 14 | eoPop pop; 15 | 16 | eoSecondsElapsedContinue cnt(1); 17 | 18 | time_t start_time = time(0); 19 | 20 | while (cnt(pop)) {} 21 | 22 | time_t end_time = time(0); 23 | 24 | int diff = end_time = start_time; 25 | 26 | if (diff < 1) return 1; 27 | 28 | return 0; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /mo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(doc) 6 | add_subdirectory(src) 7 | 8 | if(ENABLE_CMAKE_TESTING) 9 | add_subdirectory(test) 10 | endif(ENABLE_CMAKE_TESTING) 11 | 12 | if(ENABLE_CMAKE_EXAMPLE) 13 | if(${CMAKE_VERBOSE_MAKEFILE}) 14 | message("MO Examples :") 15 | endif(${CMAKE_VERBOSE_MAKEFILE}) 16 | add_subdirectory(tutorial) 17 | endif(ENABLE_CMAKE_EXAMPLE) 18 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/stdlib/vacpp.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #if __IBMCPP__ <= 501 9 | # define BOOST_NO_STD_ALLOCATOR 10 | #endif 11 | 12 | #define BOOST_HAS_MACRO_USE_FACET 13 | #define BOOST_NO_STD_MESSAGES 14 | 15 | #define BOOST_STDLIB "Visual Age default standard library" 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /moeo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(doc) 6 | add_subdirectory(src) 7 | 8 | if(ENABLE_CMAKE_TESTING) 9 | add_subdirectory(test) 10 | endif(ENABLE_CMAKE_TESTING) 11 | 12 | if(ENABLE_CMAKE_EXAMPLE) 13 | if(${CMAKE_VERBOSE_MAKEFILE}) 14 | message("MOEO Examples :") 15 | endif(${CMAKE_VERBOSE_MAKEFILE}) 16 | add_subdirectory(tutorial) 17 | endif(ENABLE_CMAKE_EXAMPLE) 18 | -------------------------------------------------------------------------------- /deprecated/eo/test/t-eoSecondsElapsedContinue.cpp: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | class Dummy : public EO {}; 11 | 12 | int main() { 13 | 14 | eoPop pop; 15 | 16 | eoSecondsElapsedContinue cnt(1); 17 | 18 | time_t start_time = time(0); 19 | 20 | while (cnt(pop)) {} 21 | 22 | time_t end_time = time(0); 23 | 24 | int diff = end_time = start_time; 25 | 26 | if (diff < 1) return 1; 27 | 28 | return 0; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /smp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | add_subdirectory(doc) 5 | add_subdirectory(src) 6 | 7 | if(ENABLE_CMAKE_TESTING) 8 | add_subdirectory(test) 9 | endif(ENABLE_CMAKE_TESTING) 10 | 11 | if(ENABLE_CMAKE_EXAMPLE) 12 | if(${CMAKE_VERBOSE_MAKEFILE}) 13 | message("PEO Examples :") 14 | endif(${CMAKE_VERBOSE_MAKEFILE}) 15 | add_subdirectory(tutorial) 16 | endif(ENABLE_CMAKE_EXAMPLE) 17 | 18 | 19 | -------------------------------------------------------------------------------- /eo/tutorial/Makefile.simple: -------------------------------------------------------------------------------- 1 | SUBDIRS = Lesson1 Lesson2 Lesson3 Lesson4 Lesson5 Lesson6 2 | 3 | all: 4 | for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done 5 | 6 | lesson1 : 7 | cd Lesson1; make 8 | 9 | lesson2 : 10 | cd Lesson2; make 11 | 12 | lesson3 : 13 | cd Lesson3; make 14 | 15 | lesson4 : 16 | cd Lesson4; make 17 | 18 | lesson5 : 19 | cd Lesson5; make 20 | 21 | lesson6 : 22 | cd Lesson6; make 23 | 24 | #empty dist and distdir to let top-level 'make' do its job 25 | dist : 26 | 27 | distdir : 28 | 29 | check : 30 | 31 | clean: 32 | for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done 33 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoIo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Input / Output 5 | 6 | 7 | 8 |

Input / Output

9 | 10 |

11 | 12 |

Stopping criteria

13 | 14 |

15 | 16 |

Displaying statistics

17 | 18 |
19 |
Marc Schoenauer
20 | 21 | 22 | Last modified: Tue Oct 31 18:32:22 CET 2000 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /eo/tutorial/html/eoStop.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Input / Output 5 | 6 | 7 | 8 |

Input / Output

9 | 10 |

11 | 12 |

Stopping criteria

13 | 14 |

15 | 16 |

Displaying statistics

17 | 18 |
19 |
Marc Schoenauer
20 | 21 | 22 | Last modified: Tue Oct 31 18:32:22 CET 2000 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/testRandomWalk.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179894 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testRandomWalk.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | # --nbStep=10 # -n : Number of steps of the random walk 13 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoIo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Input / Output 5 | 6 | 7 | 8 |

Input / Output

9 | 10 |

11 | 12 |

Stopping criteria

13 | 14 |

15 | 16 |

Displaying statistics

17 | 18 |
19 |
Marc Schoenauer
20 | 21 | 22 | Last modified: Tue Oct 31 18:32:22 CET 2000 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/eoStop.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Input / Output 5 | 6 | 7 | 8 |

Input / Output

9 | 10 |

11 | 12 |

Stopping criteria

13 | 14 |

15 | 16 |

Displaying statistics

17 | 18 |
19 |
Marc Schoenauer
20 | 21 | 22 | Last modified: Tue Oct 31 18:32:22 CET 2000 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Dec Alpha True64 C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Dec Alpha True64 " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_fitContinuator.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179024 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_fitContinuator.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --fitness=16 # -f : Maximum fitness value to reach 13 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_iterContinuator.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179030 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_iterContinuator.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --iter=10 # -i : Maximum number of iterations 13 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_neutralHC.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179072 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_neutralHC.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --nbStepMax=10 # -n : Number of steps of the random walk 13 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/testMetropolisHasting.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179886 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testMetropolisHasting.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | # --nbStep=10 # -n : Number of steps of the random walk 13 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Makefile.simple: -------------------------------------------------------------------------------- 1 | SUBDIRS = Lesson1 Lesson2 Lesson3 Lesson4 Lesson5 Lesson6 2 | 3 | all: 4 | for i in $(SUBDIRS); do cd $$i && $(MAKE) all; cd ..; done 5 | 6 | lesson1 : 7 | cd Lesson1; make 8 | 9 | lesson2 : 10 | cd Lesson2; make 11 | 12 | lesson3 : 13 | cd Lesson3; make 14 | 15 | lesson4 : 16 | cd Lesson4; make 17 | 18 | lesson5 : 19 | cd Lesson5; make 20 | 21 | lesson6 : 22 | cd Lesson6; make 23 | 24 | #empty dist and distdir to let top-level 'make' do its job 25 | dist : 26 | 27 | distdir : 28 | 29 | check : 30 | 31 | clean: 32 | for i in $(SUBDIRS); do cd $$i && $(MAKE) clean; cd ..; done 33 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pA/fastga.param: -------------------------------------------------------------------------------- 1 | # name switch type range 2 | # continuator "--continuator=" c (0) 3 | crossoverrate "--crossover-rate=" r (0,1) 4 | crossselector "--cross-selector=" c (0,1,2,3,4,5,6) 5 | # aftercrossselector "--aftercross-selector=" c (0) 6 | crossover "--crossover=" c (0,1,2,3,4,5,6,7,8,9) 7 | mutationrate "--mutation-rate=" r (0,1) 8 | mutselector "--mut-selector=" c (0,1,2,3,4,5,6) 9 | mutation "--mutation=" c (0,1,2,3,4,5,6,7,8,9,10) 10 | replacement "--replacement=" c (0,1,2,3,4,5,6,7,8,9,10) 11 | popsize "--pop-size=" i (1,50) 12 | offspringsize "--offspring-size=" i (1,50) 13 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/eval/MultiFunction.h: -------------------------------------------------------------------------------- 1 | #ifndef MULTIFUNCTION_H_ 2 | #define MULTIFUNCTION_H_ 3 | 4 | #include 5 | 6 | class Sym; 7 | class MultiFunctionImpl; 8 | 9 | class MultiFunction { 10 | MultiFunction& operator=(const MultiFunction&); 11 | MultiFunction(const MultiFunction&); 12 | 13 | MultiFunctionImpl* pimpl; 14 | 15 | public: 16 | 17 | MultiFunction(const std::vector& pop); 18 | ~MultiFunction(); 19 | 20 | void operator()(const std::vector& x, std::vector& y); 21 | void operator()(const double* x, double* y); 22 | 23 | }; 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Dec Alpha True64 C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Dec Alpha True64 " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_evalContinuator.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179018 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_evalContinuator.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --eval=30 # -e : Maximum number of neighbor evaluation 13 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_fullEvalContinuator.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179068 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_fullEvalContinuator.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --fulleval=2 # -e : Maximum number of full evaluation 13 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/eval/MultiFunction.h: -------------------------------------------------------------------------------- 1 | #ifndef MULTIFUNCTION_H_ 2 | #define MULTIFUNCTION_H_ 3 | 4 | #include 5 | 6 | class Sym; 7 | class MultiFunctionImpl; 8 | 9 | class MultiFunction { 10 | MultiFunction& operator=(const MultiFunction&); 11 | MultiFunction(const MultiFunction&); 12 | 13 | MultiFunctionImpl* pimpl; 14 | 15 | public: 16 | 17 | MultiFunction(const std::vector& pop); 18 | ~MultiFunction(); 19 | 20 | void operator()(const std::vector& x, std::vector& y); 21 | void operator()(const double* x, double* y); 22 | 23 | }; 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /eo/test/t-eoRealToIntMonOp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main(int, char**) 9 | { 10 | eoIntInterval bounds(1,5); 11 | 12 | using Chrom = eoInt; 13 | using MutWrapper = eoRealToIntMonOp; 14 | 15 | eoDetUniformMutation< typename MutWrapper::EOTreal > mutreal(/*range*/6, /*nb*/5); 16 | 17 | MutWrapper mutint(mutreal, bounds); 18 | 19 | Chrom sol({1,2,3,4,5}); 20 | 21 | bool changed = mutint(sol); 22 | assert(changed); 23 | 24 | for(auto& x : sol) { 25 | assert(bounds.isInBounds(x)); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/csv_all_bests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ldata=$1 3 | file_py=$2 4 | csvdir="csv_FAO" 5 | ldir=$(echo $(ls ${ldata})) 6 | for data in ${ldir[@]} ; do 7 | path="${ldata}/${data}" 8 | cmd="python3 ${file_py} ${path}" 9 | plan_name=$(echo ${data} | sed "s/data//") 10 | mexp=$(echo ${data[@]} | cut -d _ -f2) 11 | mevals=$(echo ${data[@]} | cut -d _ -f3) 12 | ddate=$(echo ${data[@]} | cut -d _ -f4) 13 | name="results_irace_plan${plan_name[@]:0:1}_${mexp}_${mevals}_${ddate}" 14 | mkdir -p "${csvdir}/csv_plan${plan_name[@]:0:1}" 15 | ${cmd} > "${csvdir}/csv_plan${plan_name[@]:0:1}/${name}.csv" 16 | done 17 | -------------------------------------------------------------------------------- /eo/contrib/irace/irace-config/default.instances: -------------------------------------------------------------------------------- 1 | ## This is an example of specifying instances with a file. 2 | 3 | # Each line is an instance relative to trainInstancesDir 4 | # (see scenario.txt.tmpl) and an optional sequence of instance-specific 5 | # parameters that will be passed to target-runnerx when invoked on that 6 | # instance. 7 | 8 | 0 9 | 1 10 | 2 11 | 3 12 | 4 13 | 5 14 | 6 15 | 7 16 | 8 17 | 9 18 | 10 19 | 11 20 | 12 21 | 13 22 | 14 23 | 15 24 | 16 25 | 17 26 | 18 27 | 19 28 | 20 29 | 21 30 | 22 31 | 23 32 | 24 33 | 25 34 | 26 35 | 27 36 | 28 37 | 29 38 | 30 39 | 31 40 | 32 41 | 33 42 | 34 43 | 35 44 | 36 45 | 37 46 | 38 47 | 39 48 | 40 49 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/platform/solaris.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // sun specific config options: 10 | 11 | #define BOOST_PLATFORM "Sun Solaris" 12 | 13 | #define BOOST_HAS_GETTIMEOFDAY 14 | 15 | // boilerplate code: 16 | #define BOOST_HAS_UNISTD_H 17 | #include 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pF/default.instances: -------------------------------------------------------------------------------- 1 | ## This is an example of specifying instances with a file. 2 | 3 | # Each line is an instance relative to trainInstancesDir 4 | # (see scenario.txt.tmpl) and an optional sequence of instance-specific 5 | # parameters that will be passed to target-runnerx when invoked on that 6 | # instance. 7 | 8 | 0 9 | 1 10 | 2 11 | 3 12 | 4 13 | 5 14 | 6 15 | 7 16 | 8 17 | 9 18 | 10 19 | 11 20 | 12 21 | 13 22 | 14 23 | 15 24 | 16 25 | 17 26 | 18 27 | 19 28 | 20 29 | 21 30 | 22 31 | 23 32 | 24 33 | 25 34 | 26 35 | 27 36 | 28 37 | 29 38 | 30 39 | 31 40 | 32 41 | 33 42 | 34 43 | 35 44 | 36 45 | 37 46 | 38 47 | 39 48 | 40 49 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pO/default.instances: -------------------------------------------------------------------------------- 1 | ## This is an example of specifying instances with a file. 2 | 3 | # Each line is an instance relative to trainInstancesDir 4 | # (see scenario.txt.tmpl) and an optional sequence of instance-specific 5 | # parameters that will be passed to target-runnerx when invoked on that 6 | # instance. 7 | 8 | 0 9 | 1 10 | 2 11 | 3 12 | 4 13 | 5 14 | 6 15 | 7 16 | 8 17 | 9 18 | 10 19 | 11 20 | 12 21 | 13 22 | 14 23 | 15 24 | 16 25 | 17 26 | 18 27 | 19 28 | 20 29 | 21 30 | 22 31 | 23 32 | 24 33 | 25 34 | 26 35 | 27 36 | 28 37 | 29 38 | 30 39 | 31 40 | 32 41 | 33 42 | 34 43 | 35 44 | 36 45 | 37 46 | 38 47 | 39 48 | 40 49 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/platform/solaris.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // sun specific config options: 10 | 11 | #define BOOST_PLATFORM "Sun Solaris" 12 | 13 | #define BOOST_HAS_GETTIMEOFDAY 14 | 15 | // boilerplate code: 16 | #define BOOST_HAS_UNISTD_H 17 | #include 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore generated files 2 | *.html 3 | *.pdf 4 | 5 | # ignore all textual files 6 | *.txt 7 | *.swp 8 | *.swo 9 | .kak_history 10 | *.log 11 | *.csv 12 | *.ods 13 | 14 | # ignore object and archive files 15 | *.[oa] 16 | *.bak 17 | *.tar* 18 | tags 19 | 20 | # ignore auto-saved files 21 | *~ 22 | \#*\# 23 | 24 | # excepted these manually configured files 25 | !CMakeLists.txt 26 | !README.txt 27 | !application/ 28 | !doc/ 29 | !lib/ 30 | !src/ 31 | !test/ 32 | !eompi.html 33 | 34 | # ignore built files 35 | build/ 36 | release/* 37 | debug/* 38 | build/* 39 | website/EO_star.png 40 | website/paradiseo_logo.png 41 | Release/* 42 | Debug/* 43 | Build/* 44 | 45 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pF/fastga.param: -------------------------------------------------------------------------------- 1 | # name switch type range 2 | # continuator "--continuator=" c (0) 3 | crossoverrate "--crossover-rate=" r (0,1) 4 | crossselector "--cross-selector=" c (0,1,2,3,4,5,6) 5 | # aftercrossselector "--aftercross-selector=" c (0) 6 | crossover "--crossover=" c (0,1,2,3,4,5,6,7,8,9) 7 | mutationrate "--mutation-rate=" r (0,1) 8 | mutselector "--mut-selector=" c (0,1,2,3,4,5,6) 9 | mutation "--mutation=" c (0,1,2,3,4,5,6,7,8,9,10) 10 | replacement "--replacement=" c (0,1,2,3,4,5,6,7,8,9,10) 11 | popsize "--pop-size=" i (1,50) 12 | offspringsize "--offspring-size=" i (1,50) 13 | -------------------------------------------------------------------------------- /edo/application/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Where do we go now ?!? 3 | ###################################################################################### 4 | 5 | include_directories( 6 | ${CMAKE_CURRENT_SOURCE_DIR}/common 7 | ) 8 | 9 | include_directories(${EIGEN3_INCLUDE_DIR}) 10 | 11 | add_subdirectory(common) # Rosenbrock and Sphere 12 | #add_subdirectory(eda_sa) 13 | 14 | if(EIGEN3_FOUND) # see edoNormalAdaptive 15 | add_subdirectory(eda) 16 | add_subdirectory(cmaes) 17 | endif() 18 | 19 | ###################################################################################### 20 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson4/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | 10 | template double binary_value(const Chrom& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | if (_chrom[i]) 15 | sum += _chrom[i]; 16 | return sum; 17 | } 18 | 19 | struct BinaryValue 20 | { 21 | template void operator()(Chrom& _chrom) 22 | { 23 | _chrom.fitness(binary_value(_chrom)); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /edo/test/test_cov_parameters.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | PSIZE = 10000 4 | MEAN = 0 5 | CMD = "./test/t-edoEstimatorNormalMulti -P=%s -m=%.1f -1=%.1f -2=%.1f -3=%.1f && ./gplot.py -r TestResPop -p -w 5 -u -g %s -G results_for_test_cov_parameters -f %s_gen1" 6 | 7 | from os import system 8 | from numpy import arange 9 | 10 | if __name__ == '__main__': 11 | 12 | for p1 in list(arange(0.1, 1.1, 0.1)): 13 | for p2 in list(arange(-1., 0., 0.1)) + list(arange(0., 1.1, 0.1)): 14 | for p3 in list(arange(0.1, 1.1, 0.1)): 15 | gen = '%d_%.1f_%.1f_%.1f_%.1f' % (PSIZE, MEAN, p1, p2, p3) 16 | cmd = CMD % ( PSIZE, MEAN, p1, p2, p3, gen, gen ) 17 | print cmd 18 | system( cmd ) 19 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/fdc.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179837 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./fdc.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbSol=100 # -n : Number of random solution 14 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson4/binary_value.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //----------------------------------------------------------------------------- 4 | 5 | /** Just a simple function that takes binary value of a chromosome and sets 6 | the fitnes. 7 | @param _chrom A binary chromosome 8 | */ 9 | 10 | template double binary_value(const Chrom& _chrom) 11 | { 12 | double sum = 0; 13 | for (unsigned i = 0; i < _chrom.size(); i++) 14 | if (_chrom[i]) 15 | sum += _chrom[i]; 16 | return sum; 17 | } 18 | 19 | struct BinaryValue 20 | { 21 | template void operator()(Chrom& _chrom) 22 | { 23 | _chrom.fitness(binary_value(_chrom)); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/adaptiveWalks.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179853 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./adaptiveWalks.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbSol=100 # -n : Number of adaptive walks 14 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/fitnessCloud.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179868 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./fitnessCloud.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbSol=100 # -n : Number of random solution 14 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/densityOfStates.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179907 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./densityOfStates.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbSol=100 # -n : Number of random solution 14 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/sampling.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179904 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./sampling.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbStep=100 # -n : Number of steps of the random walk 14 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/autocorrelation.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179858 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./autocorrelation.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbStep=100 # -n : Number of steps of the random walk 14 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/test/test_lambda.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() { 6 | 7 | Sym x = SymVar(0); 8 | Sym y = SymVar(1); 9 | 10 | Sym f = y + x*x; 11 | 12 | Sym l = SymLambda(f); 13 | 14 | SymVec args = l.args(); 15 | args[0] = x; 16 | args[1] = y; 17 | l = Sym(l.token(), args); 18 | 19 | vector v(3); 20 | v[0] = 2.0; 21 | v[1] = 3.0; 22 | v[2] = 4.0; 23 | 24 | double v1 = eval(f,v); 25 | double v2 = eval(l,v); 26 | 27 | cout << v1 << ' ' << v2 << endl; 28 | cout << f << endl; 29 | cout << l << endl; 30 | 31 | if (v1 != 7.0) return 1; 32 | if (v2 != 11.0) return 1; 33 | } 34 | 35 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/testRandomNeutralWalk.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179899 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testRandomNeutralWalk.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | # --blockSize=2 # -k : Size of block in the royal road 13 | # --nbStep=10 # -n : Number of steps of the random walk 14 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/test/test_lambda.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() { 6 | 7 | Sym x = SymVar(0); 8 | Sym y = SymVar(1); 9 | 10 | Sym f = y + x*x; 11 | 12 | Sym l = SymLambda(f); 13 | 14 | SymVec args = l.args(); 15 | args[0] = x; 16 | args[1] = y; 17 | l = Sym(l.token(), args); 18 | 19 | vector v(3); 20 | v[0] = 2.0; 21 | v[1] = 3.0; 22 | v[2] = 4.0; 23 | 24 | double v1 = eval(f,v); 25 | double v2 = eval(l,v); 26 | 27 | cout << v1 << ' ' << v2 << endl; 28 | cout << f << endl; 29 | cout << l << endl; 30 | 31 | if (v1 != 7.0) return 1; 32 | if (v2 != 11.0) return 1; 33 | } 34 | 35 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson4/testSimpleTS.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276172081 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./testSimpleTS.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=8 # -V : Genotype size 12 | 13 | ###### Search Parameters ###### 14 | # --sizeTabuList=7 # -T : size of the tabu list 15 | # --timeLimit=1 # -T : time limits 16 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/planO/riaO.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | date -Iseconds 4 | echo "STARTS" 5 | myhome=$1 6 | scratchpath=$2 7 | mexp=$3 8 | mevals=$4 9 | name="dataO_maxExp=${mexp}_maxEv=${mevals}_$(date --iso-8601=seconds)" 10 | dir=${scratchpath}/dataFAR/dataO/${name} 11 | mkdir -p ${dir} 12 | 13 | for r in $(seq 2); do 14 | echo "Run $r/15"; 15 | cmd="qsub -N iraceO_maxExp=${exp}_maxEv=${evals}_${r} -q beta -l select=1:ncpus=1 -l walltime=00:10:00 -- ${scratchpath}/planO/r_iO.sh ${dir} ${r} ${mexp} ${mevals} ${myhome}" 16 | echo $cmd 17 | $cmd 18 | #time (p=2; while [[ ${p} > 1 ]] ; do p=$(qqueue -u $USER | wc -l); echo "$r: $p"; sleep 300; done) 19 | done 20 | 21 | #echo "DONE" 22 | #date -Iseconds 23 | 24 | -------------------------------------------------------------------------------- /eo/src/es/eig.h: -------------------------------------------------------------------------------- 1 | #ifndef EIG_H__ 2 | #define EIG_H__ 3 | 4 | #include 5 | #include 6 | 7 | namespace eo { 8 | /* ========================================================= */ 9 | /* 10 | Calculating eigenvalues and vectors. 11 | Input: 12 | N: dimension. 13 | C: lower_triangular NxN-matrix. 14 | niter: number of maximal iterations for QL-Algorithm. 15 | Output: 16 | diag: N eigenvalues. 17 | Q: Columns are normalized eigenvectors. 18 | return: number of iterations in QL-Algorithm. 19 | */ 20 | extern int eig( int N, const lower_triangular_matrix& C, std::valarray& diag, square_matrix& Q, 21 | int niter = 0); 22 | 23 | } // namespace eo 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deprecated/eo/src/es/eig.h: -------------------------------------------------------------------------------- 1 | #ifndef EIG_H__ 2 | #define EIG_H__ 3 | 4 | #include 5 | #include 6 | 7 | namespace eo { 8 | /* ========================================================= */ 9 | /* 10 | Calculating eigenvalues and vectors. 11 | Input: 12 | N: dimension. 13 | C: lower_triangular NxN-matrix. 14 | niter: number of maximal iterations for QL-Algorithm. 15 | Output: 16 | diag: N eigenvalues. 17 | Q: Columns are normalized eigenvectors. 18 | return: number of iterations in QL-Algorithm. 19 | */ 20 | extern int eig( int N, const lower_triangular_matrix& C, std::valarray& diag, square_matrix& Q, 21 | int niter = 0); 22 | 23 | } // namespace eo 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/alpha/parse_elites.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import sys 4 | 5 | print("algo,problem,seed,ECDF_AUC") 6 | 7 | for fname in sys.argv[1:]: 8 | 9 | run = {} 10 | for f in fname.strip(".dat").split("_"): 11 | kv = f.split("=") 12 | assert(len(kv)==2),str(kv)+" "+str(len(kv)) 13 | key,idx = kv[0], int(kv[1]) 14 | run[key] = idx 15 | 16 | with open(fname) as fd: 17 | auc = int(fd.readlines()[0]) * -1 18 | 19 | algo = "pc={}_c={}_C={}_pm={}_m={}_M={}_R={}".format(run["crossover-rate"],run["cross-selector"],run["crossover"],run["mutation-rate"],run["mut-selector"],run["mutation"],run["replacement"]) 20 | 21 | print(algo, run["pb"], run["seed"], auc, sep=",") 22 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pA/forbidden.txt: -------------------------------------------------------------------------------- 1 | ## Template for specifying forbidden parameter configurations in irace. 2 | ## 3 | ## This filename must be specified via the --forbidden-file command-line option 4 | ## (or forbiddenFile in scenario.txt). 5 | ## 6 | ## The format is one constraint per line. Each constraint is a logical 7 | ## expression (in R syntax). If a parameter configuration 8 | ## is generated that makes the logical expression evaluate to TRUE, 9 | ## then the configuration is discarded. 10 | ## 11 | ## Examples of valid logical operators are: == != >= <= > < & | ! %in% 12 | (replacement %in% c(2,3,4,5,6,7,8,9,10)) & (offspringsize > popsize) 13 | (replacement %in% c(1)) & (offspringsize < popsize) 14 | -------------------------------------------------------------------------------- /eo/test/t-eoInt.cpp: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // t-eoInt.cpp 3 | //----------------------------------------------------------------------------- 4 | 5 | #include 6 | #include 7 | 8 | //----------------------------------------------------------------------------- 9 | 10 | typedef eoInt Chrom; 11 | 12 | //----------------------------------------------------------------------------- 13 | 14 | int main() 15 | { 16 | Chrom chrom1, chrom2; 17 | 18 | std::cout << "chrom1 = " << chrom1 << std::endl 19 | << "chrom2 = " << chrom2 << std::endl; 20 | 21 | return 0; 22 | } 23 | 24 | //----------------------------------------------------------------------------- 25 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/testrandom.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #tab=(15000 20000 30000 40000) 4 | #tab=(100 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 10000) 5 | myhome=$1 6 | scratchpath=$2 7 | tab=${@:3} 8 | #echo ${tab[@]} 9 | outdir="/scratchbeta/$USER/fastga_results_all/fastga_results_random" 10 | mkdir -p ${outdir} #results of random experiment 11 | for evals in ${tab[@]}; do 12 | #evalsdir="${name}/maxEv=${evals}" 13 | #mkdir -p ${evalsdir} 14 | #{ time -p bash /home/$USER/run_random.sh ${name} ${i} 50 ; } &> "${name}/sortie5_${j}_maxExp=${i}.txt" 15 | #cmd="qsub -N iraceR_maxEv=${evals} -q beta -l select=1:ncpus=1 -l walltime=00:30:00 -- /scratchbeta/$USER/run_random.sh ${outdir} ${evals}" 16 | $cmd 17 | 18 | done 19 | -------------------------------------------------------------------------------- /deprecated/eo/test/t-eoInt.cpp: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // t-eoInt.cpp 3 | //----------------------------------------------------------------------------- 4 | 5 | #include 6 | #include 7 | 8 | //----------------------------------------------------------------------------- 9 | 10 | typedef eoInt Chrom; 11 | 12 | //----------------------------------------------------------------------------- 13 | 14 | int main() 15 | { 16 | Chrom chrom1, chrom2; 17 | 18 | std::cout << "chrom1 = " << chrom1 << std::endl 19 | << "chrom2 = " << chrom2 << std::endl; 20 | 21 | return 0; 22 | } 23 | 24 | //----------------------------------------------------------------------------- 25 | -------------------------------------------------------------------------------- /eo/PKGBUILD.cmake: -------------------------------------------------------------------------------- 1 | # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ 2 | # Maintainer: Caner Candan 3 | pkgname=libeo 4 | pkgver=@PROJECT_VERSION@ 5 | pkgrel=1 6 | pkgdesc="Evolving Objects is a template-based, ANSI-C++ evolutionary computation library which helps you to write your own stochastic optimization algorithms insanely fast." 7 | url="" 8 | arch=('i686' 'x86_64') 9 | license=('LGPL') 10 | depends=() 11 | makedepends=('make' 'cmake') 12 | conflicts=() 13 | replaces=() 14 | backup=() 15 | install= 16 | source=($pkgname-$pkgver.tar.gz) 17 | md5sums=() 18 | build() { 19 | cd $startdir/src/$pkgname-$pkgver 20 | cmake -DCMAKE_INSTALL_PREFIX=/usr . 21 | make || return 1 22 | make DESTDIR=$startdir/pkg install 23 | } 24 | -------------------------------------------------------------------------------- /moeo/tutorial/Lesson1/Sch1.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | 6 | ###### Param ###### 7 | --popSize=100 # -P : Population size 8 | --maxGen=100 # -G : Maximum number of generations 9 | --mutEpsilon=0.01 # -e : epsilon for mutation 10 | --pCross=0.25 # -C : Crossover probability 11 | --pMut=0.35 # -M : Mutation probability 12 | 13 | ###### Persistence ###### 14 | # --status=./Sch1.status # Status file 15 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/run_res.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #get csv file, parse dataF in a csv file 4 | dir=/scratchbeta/$USER/dataFAR 5 | listdir=$(echo $(ls ${dir})) 6 | 7 | for data in ${listdir[@]} ; do 8 | file_py="parse${data: -1}_irace_bests.py" 9 | path="${dir}/${data}" 10 | cmd="bash ./csv_all_bests.sh ${path} ${file_py}" 11 | echo $cmd 12 | $cmd 13 | done 14 | 15 | #get validation run of each config 16 | 17 | dir=/scratchbeta/$USER/csv_FAO 18 | listdir=$(echo $(ls ${dir})) 19 | echo ${listdir[@]} 20 | for csvdir in ${listdir[@]} ; do 21 | csvpath="${dir}/${csvdir}" 22 | file_py="./run_elites_plan${csvdir: -1}.sh" 23 | cmd="bash ./fastga_elites_all.sh ${csvpath} ${file_py}" 24 | echo $cmd 25 | $cmd 26 | done 27 | -------------------------------------------------------------------------------- /eo/test/t-eoEvalCmd.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main(int /*argc*/, char** /*argv[]*/) 9 | { 10 | typedef eoReal EOT; 11 | 12 | // Build something like: ">&1 echo 1.2; # INVALID 2 1 2" 13 | eoEvalCmd eval("echo 1.2", ">&1", "; #"); 14 | 15 | EOT sol = {1,2}; 16 | std::clog << sol << std::endl; 17 | 18 | try { 19 | eval(sol); 20 | } catch(eoSystemError& e) { 21 | std::cerr << e.what() << std::endl; 22 | exit(1); 23 | } 24 | 25 | std::clog << eval.last_call() << std::endl; 26 | EOT::Fitness f = sol.fitness(); 27 | std::clog << "fitness: " << f << std::endl; 28 | assert(f = 1.2); 29 | } 30 | -------------------------------------------------------------------------------- /deprecated/eo/PKGBUILD.cmake: -------------------------------------------------------------------------------- 1 | # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ 2 | # Maintainer: Caner Candan 3 | pkgname=libeo 4 | pkgver=@PROJECT_VERSION@ 5 | pkgrel=1 6 | pkgdesc="Evolving Objects is a template-based, ANSI-C++ evolutionary computation library which helps you to write your own stochastic optimization algorithms insanely fast." 7 | url="" 8 | arch=('i686' 'x86_64') 9 | license=('LGPL') 10 | depends=() 11 | makedepends=('make' 'cmake') 12 | conflicts=() 13 | replaces=() 14 | backup=() 15 | install= 16 | source=($pkgname-$pkgver.tar.gz) 17 | md5sums=() 18 | build() { 19 | cd $startdir/src/$pkgname-$pkgver 20 | cmake -DCMAKE_INSTALL_PREFIX=/usr . 21 | make || return 1 22 | make DESTDIR=$startdir/pkg install 23 | } 24 | -------------------------------------------------------------------------------- /edo/application/eda_sa/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | PROJECT(eda_sa) 2 | 3 | FIND_PACKAGE(Boost 1.33.0) 4 | 5 | INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) 6 | 7 | INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) 8 | LINK_DIRECTORIES(${Boost_LIBRARY_DIRS}) 9 | 10 | SET(RESOURCES 11 | ${PROJECT_NAME}.param 12 | ) 13 | 14 | FOREACH(file ${RESOURCES}) 15 | EXECUTE_PROCESS( 16 | COMMAND ${CMAKE_COMMAND} -E copy_if_different 17 | ${CMAKE_CURRENT_SOURCE_DIR}/${file} 18 | ${EDO_BIN_DIR}/${file} 19 | ) 20 | ENDFOREACH(file) 21 | 22 | FILE(GLOB SOURCES *.cpp) 23 | 24 | SET(EXECUTABLE_OUTPUT_PATH ${EDO_BIN_DIR}) 25 | 26 | ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCES}) 27 | TARGET_LINK_LIBRARIES(${PROJECT_NAME} edo edoutils ${EO_LIBRARIES} ${MO_LIBRARIES} ${Boost_LIBRARIES}) 28 | -------------------------------------------------------------------------------- /eo/src/pyeo/test/test_breeders.py: -------------------------------------------------------------------------------- 1 | from maxone import * 2 | import unittest 3 | 4 | class TestBreeders(unittest.TestCase): 5 | def runtest(self, breed): 6 | pop = eoPop(50, Init(20)) 7 | evaluate = EvalFunc() 8 | print 'HERE' 9 | for indy in pop: evaluate(indy) 10 | newpop = eoPop(); 11 | 12 | breed(pop,newpop) 13 | 14 | print pop.best() 15 | for indy in newpop: evaluate(indy) 16 | print newpop.best() 17 | 18 | def testGeneralBreeder(self): 19 | seq = eoSequentialOp(); 20 | seq.add(Crossover(), 0.7) 21 | seq.add(Mutate(), 0.1) 22 | 23 | breed = eoGeneralBreeder(eoDetTournamentSelect(3), seq) 24 | self.runtest(breed) 25 | 26 | def suite(): 27 | return unittest.makeSuite(TestSGA,'test') 28 | 29 | if __name__=='__main__': 30 | unittest.main() 31 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/neutralDegree.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179874 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./neutralDegree.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --blockSize=4 # -k : Block size of the Royal Road 14 | # --nbSol=100 # -n : Number of random solution 15 | -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/test/test_breeders.py: -------------------------------------------------------------------------------- 1 | from maxone import * 2 | import unittest 3 | 4 | class TestBreeders(unittest.TestCase): 5 | def runtest(self, breed): 6 | pop = eoPop(50, Init(20)) 7 | evaluate = EvalFunc() 8 | print 'HERE' 9 | for indy in pop: evaluate(indy) 10 | newpop = eoPop(); 11 | 12 | breed(pop,newpop) 13 | 14 | print pop.best() 15 | for indy in newpop: evaluate(indy) 16 | print newpop.best() 17 | 18 | def testGeneralBreeder(self): 19 | seq = eoSequentialOp(); 20 | seq.add(Crossover(), 0.7) 21 | seq.add(Mutate(), 0.1) 22 | 23 | breed = eoGeneralBreeder(eoDetTournamentSelect(3), seq) 24 | self.runtest(breed) 25 | 26 | def suite(): 27 | return unittest.makeSuite(TestSGA,'test') 28 | 29 | if __name__=='__main__': 30 | unittest.main() 31 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/firstImprHC_maxSAT.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179091 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --in= # -f : Input file of the file in ncf format 9 | # --status=./firstImprHC_maxSAT.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --nbClauses=10 # -m : Number of clauses 14 | # --nbLitt=3 # -k : Number of litteral by clauses 15 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson6/neutralWalk.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276179843 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --out=out.dat # -o : Output file of the sampling 9 | # --status=./neutralWalk.status # Status file 10 | 11 | ###### Representation ###### 12 | # --vecSize=20 # -V : Genotype size 13 | # --blockSize=4 # -k : Block size of the Royal Road 14 | # --nbStep=100 # -n : Number of steps of the random walk 15 | -------------------------------------------------------------------------------- /eo/src/eoPrintable.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | //----------------------------------------------------------------------------- 7 | // eoPrintable.cpp 8 | //----------------------------------------------------------------------------- 9 | 10 | #include "eoPrintable.h" 11 | 12 | //----------------------------------------------------------------------------- 13 | //Implementation of these objects 14 | //----------------------------------------------------------------------------- 15 | 16 | std::ostream & operator << ( std::ostream& _os, const eoPrintable& _o ) { 17 | _o.printOn(_os); 18 | return _os; 19 | } 20 | 21 | //----------------------------------------------------------------------------- 22 | -------------------------------------------------------------------------------- /deprecated/eo/src/eoPrintable.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | // to avoid long name warnings 3 | #pragma warning(disable:4786) 4 | #endif 5 | 6 | //----------------------------------------------------------------------------- 7 | // eoPrintable.cpp 8 | //----------------------------------------------------------------------------- 9 | 10 | #include 11 | 12 | //----------------------------------------------------------------------------- 13 | //Implementation of these objects 14 | //----------------------------------------------------------------------------- 15 | 16 | std::ostream & operator << ( std::ostream& _os, const eoPrintable& _o ) { 17 | _o.printOn(_os); 18 | return _os; 19 | } 20 | 21 | //----------------------------------------------------------------------------- 22 | -------------------------------------------------------------------------------- /moeo/tutorial/examples/flowshop/benchs/020_05_01.txt: -------------------------------------------------------------------------------- 1 | 20 2 | 5 3 | 873654221 4 | 0 5 | 468 6 | 54 79 16 66 58 7 | 1 8 | 325 9 | 83 3 89 58 56 10 | 2 11 | 923 12 | 15 11 49 31 20 13 | 3 14 | 513 15 | 71 99 15 68 85 16 | 4 17 | 1070 18 | 77 56 89 78 53 19 | 5 20 | 690 21 | 36 70 45 91 35 22 | 6 23 | 602 24 | 53 99 60 13 53 25 | 7 26 | 289 27 | 38 60 23 59 41 28 | 8 29 | 873 30 | 27 5 57 49 69 31 | 9 32 | 342 33 | 87 56 64 85 13 34 | 10 35 | 764 36 | 76 3 7 85 86 37 | 11 38 | 268 39 | 91 61 1 9 72 40 | 12 41 | 1158 42 | 14 73 63 39 8 43 | 13 44 | 646 45 | 29 75 41 41 49 46 | 14 47 | 1111 48 | 12 47 63 56 47 49 | 15 50 | 965 51 | 77 14 47 40 87 52 | 16 53 | 703 54 | 32 21 26 54 58 55 | 17 56 | 1205 57 | 87 86 75 77 18 58 | 18 59 | 334 60 | 68 5 77 51 68 61 | 19 62 | 1111 63 | 94 77 40 31 28 64 | -------------------------------------------------------------------------------- /moeo/tutorial/examples/flowshop/benchs/020_05_02.txt: -------------------------------------------------------------------------------- 1 | 20 2 | 5 3 | 379008056 4 | 0 5 | 517 6 | 26 59 78 88 69 7 | 1 8 | 461 9 | 38 62 90 54 30 10 | 2 11 | 832 12 | 27 44 64 47 61 13 | 3 14 | 653 15 | 88 10 49 83 35 16 | 4 17 | 933 18 | 95 23 47 84 53 19 | 5 20 | 811 21 | 55 64 20 9 98 22 | 6 23 | 966 24 | 54 47 61 30 94 25 | 7 26 | 448 27 | 63 68 93 11 33 28 | 8 29 | 577 30 | 23 54 36 92 77 31 | 9 32 | 1122 33 | 45 9 47 63 31 34 | 10 35 | 666 36 | 86 30 70 62 54 37 | 11 38 | 1189 39 | 43 31 54 75 71 40 | 12 41 | 470 42 | 43 92 87 48 78 43 | 13 44 | 475 45 | 40 7 13 23 9 46 | 14 47 | 462 48 | 37 14 40 85 79 49 | 15 50 | 866 51 | 54 95 34 23 51 52 | 16 53 | 392 54 | 35 76 55 4 76 55 | 17 56 | 310 57 | 59 82 13 31 56 58 | 18 59 | 719 60 | 43 91 11 13 80 61 | 19 62 | 1221 63 | 50 37 5 98 72 64 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/eo_interface/eoSymLambdaMutate.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "FunDef.h" 3 | #include "NodeSelector.h" 4 | 5 | Sym compress(Sym sym, NodeSelector& sel) { 6 | 7 | return ::compress(sym); 8 | 9 | NodeSelector::NodeSelection s = sel.select_node(sym); 10 | 11 | Sym f = SymLambda( s.subtree()); 12 | 13 | if (f == s.subtree()) { return sym; } 14 | 15 | return insert_subtree(sym, s.idx(), f); 16 | } 17 | 18 | extern Sym expand(Sym sym, NodeSelector& sel) { 19 | 20 | return ::expand_all(sym); 21 | 22 | NodeSelector::NodeSelection s = sel.select_node(sym); 23 | 24 | Sym f = SymUnlambda( s.subtree()); 25 | 26 | if (f == s.subtree()) { return sym; } 27 | 28 | return insert_subtree(sym, s.idx(), f); 29 | } 30 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/compiler/sgi_mipspro.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // SGI C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // Threading support: 16 | // Turn this on unconditionally here, it will get turned off again later 17 | // if no threading API is detected. 18 | // 19 | #define BOOST_HAS_THREADS 20 | // 21 | // version check: 22 | // probably nothing to do here? 23 | 24 | 25 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/eo_interface/eoSymLambdaMutate.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "FunDef.h" 3 | #include "NodeSelector.h" 4 | 5 | Sym compress(Sym sym, NodeSelector& sel) { 6 | 7 | return ::compress(sym); 8 | 9 | NodeSelector::NodeSelection s = sel.select_node(sym); 10 | 11 | Sym f = SymLambda( s.subtree()); 12 | 13 | if (f == s.subtree()) { return sym; } 14 | 15 | return insert_subtree(sym, s.idx(), f); 16 | } 17 | 18 | extern Sym expand(Sym sym, NodeSelector& sel) { 19 | 20 | return ::expand_all(sym); 21 | 22 | NodeSelector::NodeSelection s = sel.select_node(sym); 23 | 24 | Sym f = SymUnlambda( s.subtree()); 25 | 26 | if (f == s.subtree()) { return sym; } 27 | 28 | return insert_subtree(sym, s.idx(), f); 29 | } 30 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/compiler/sgi_mipspro.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // SGI C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // Threading support: 16 | // Turn this on unconditionally here, it will get turned off again later 17 | // if no threading API is detected. 18 | // 19 | #define BOOST_HAS_THREADS 20 | // 21 | // version check: 22 | // probably nothing to do here? 23 | 24 | 25 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/stdlib/modena.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jens Maurer 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Modena C++ standard library (comes with KAI C++) 9 | 10 | #if !defined(MSIPL_COMPILE_H) 11 | # include 12 | # if !defined(__MSIPL_COMPILE_H) 13 | # error "This is not the Modena C++ library!" 14 | # endif 15 | #endif 16 | 17 | #ifndef MSIPL_NL_TYPES 18 | #define BOOST_NO_STD_MESSAGES 19 | #endif 20 | 21 | #ifndef MSIPL_WCHART 22 | #define BOOST_NO_STD_WSTRING 23 | #endif 24 | 25 | #define BOOST_STDLIB "Modena C++ standard library" 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/stdlib/modena.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jens Maurer 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Modena C++ standard library (comes with KAI C++) 9 | 10 | #if !defined(MSIPL_COMPILE_H) 11 | # include 12 | # if !defined(__MSIPL_COMPILE_H) 13 | # error "This is not the Modena C++ library!" 14 | # endif 15 | #endif 16 | 17 | #ifndef MSIPL_NL_TYPES 18 | #define BOOST_NO_STD_MESSAGES 19 | #endif 20 | 21 | #ifndef MSIPL_WCHART 22 | #define BOOST_NO_STD_WSTRING 23 | #endif 24 | 25 | #define BOOST_STDLIB "Modena C++ standard library" 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /eo/tutorial/html/debut.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TITRE 5 | 6 | 7 | 8 | Tutorial main page - 9 | Algorithm-Based 10 | page - Component-Based - Programming 11 | hints - EO documentation 12 |
13 |
14 | 15 | 16 |
17 |

TITRE

18 |
19 | 20 | 21 |

22 | -------------------------------------------------------------------------------- /mo/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Look for headers 3 | ###################################################################################### 4 | 5 | file(GLOB HDRS *.h mo) 6 | install(FILES ${HDRS} DESTINATION include${INSTALL_SUB_DIR}/mo COMPONENT headers) 7 | 8 | ###################################################################################### 9 | ### 1) Install directories 10 | ###################################################################################### 11 | 12 | install(DIRECTORY acceptCrit algo comparator continuator coolingSchedule eval explorer memory neighborhood perturb problems sampling 13 | DESTINATION include${INSTALL_SUB_DIR}/mo 14 | COMPONENT headers 15 | FILES_MATCHING PATTERN "*.h" 16 | ) 17 | 18 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/html/debut.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TITRE 5 | 6 | 7 | 8 | Tutorial main page - 9 | Algorithm-Based 10 | page - Component-Based - Programming 11 | hints - EO documentation 12 |
13 |


14 | 15 | 16 |
17 |

TITRE

18 |
19 | 20 | 21 |

22 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson9/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 9 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files VNS) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson9 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | 23 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/irace_files_pF/forbidden.txt: -------------------------------------------------------------------------------- 1 | ## Template for specifying forbidden parameter configurations in irace. 2 | ## 3 | ## This filename must be specified via the --forbidden-file command-line option 4 | ## (or forbiddenFile in scenario.txt). 5 | ## 6 | ## The format is one constraint per line. Each constraint is a logical 7 | ## expression (in R syntax). If a parameter configuration 8 | ## is generated that makes the logical expression evaluate to TRUE, 9 | ## then the configuration is discarded. 10 | ## 11 | ## Examples of valid logical operators are: == != >= <= > < & | ! %in% 12 | (replacement %in% c(2,3,4,5,6,7,8,9,10)) & (offspringsize > popsize) 13 | (replacement %in% c(1)) & (offspringsize < popsize) 14 | #(as.numeric(replacement) == 2) & (offspringsize > popsize) 15 | #(as.numeric(replacement) == 3) & (offspringsize > popsize) 16 | -------------------------------------------------------------------------------- /eo/test/t-eoUniform.cpp: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // t-eouniform 3 | //----------------------------------------------------------------------------- 4 | 5 | #include // std::cout 6 | #include // ostrstream, istrstream 7 | #include // eoBin 8 | 9 | //----------------------------------------------------------------------------- 10 | 11 | main() { 12 | eoUniform u1(-2.5,3.5); 13 | eoUniform u2(0.003, 0 ); 14 | eoUniform u3( 10000U, 10000000U); 15 | std::cout << "u1\t\tu2\t\tu3" << std::endl; 16 | for ( unsigned i = 0; i < 100; i ++) { 17 | std::cout << u1() << "\t" << u2() << "\t" << u3() << std::endl; 18 | } 19 | 20 | } 21 | 22 | //----------------------------------------------------------------------------- 23 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 2 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files testNeighborhood) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson2 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 4 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files testSimpleTS) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson4 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | 23 | -------------------------------------------------------------------------------- /smp/test/t-smpScheduler.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include 6 | #include 7 | 8 | #include "smpTestClass.h" 9 | 10 | using namespace std; 11 | using namespace paradiseo::smp; 12 | 13 | int main(void) 14 | { 15 | srand(time(NULL)); 16 | 17 | loadInstances("t-data.dat", n, bkv, a, b); 18 | // Evaluation function 19 | IndiEvalFunc plainEval; 20 | // Init a solution 21 | IndiInit chromInit; 22 | 23 | eoPop pop(100, chromInit); 24 | 25 | 26 | int nbWorkers = 4; 27 | 28 | Scheduler sched(nbWorkers); 29 | 30 | sched(plainEval, pop); 31 | 32 | std::cout << pop << std::endl; 33 | 34 | // All indi would be evaluate once 35 | for( unsigned i = 0; i < pop.size(); i++) 36 | assert(pop[i].evalNb == 1); 37 | 38 | return 0; 39 | } 40 | -------------------------------------------------------------------------------- /eo/test/t-eoRealToIntQuadOp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | 8 | int main(int, char**) 9 | { 10 | eoIntInterval intbounds(1,5); 11 | eoRealInterval rb(1,5); 12 | eoRealVectorBounds realbounds(5, rb); 13 | 14 | using Chrom = eoInt; 15 | using CrossWrapper = eoRealToIntQuadOp; 16 | 17 | eoSegmentCrossover< typename CrossWrapper::EOTreal > crossreal(realbounds, /*alpha*/0); 18 | 19 | CrossWrapper crossint(crossreal, intbounds); 20 | 21 | Chrom sol1({1,2,3,4,5}); 22 | Chrom sol2({1,2,3,4,5}); 23 | 24 | bool changed = crossint(sol1, sol2); 25 | assert(changed); 26 | 27 | for(auto& x : sol1) { 28 | assert(intbounds.isInBounds(x)); 29 | } 30 | for(auto& x : sol2) { 31 | assert(intbounds.isInBounds(x)); 32 | } 33 | } 34 | 35 | 36 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 5 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files testILS) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson5 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | 23 | 24 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson7/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 7 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files hybridAlgo) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson7 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | 23 | -------------------------------------------------------------------------------- /deprecated/eo/test/t-eoUniform.cpp: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // t-eouniform 3 | //----------------------------------------------------------------------------- 4 | 5 | #include // std::cout 6 | #include // ostrstream, istrstream 7 | #include // eoBin 8 | 9 | //----------------------------------------------------------------------------- 10 | 11 | main() { 12 | eoUniform u1(-2.5,3.5); 13 | eoUniform u2(0.003, 0 ); 14 | eoUniform u3( 10000U, 10000000U); 15 | std::cout << "u1\t\tu2\t\tu3" << std::endl; 16 | for ( unsigned i = 0; i < 100; i ++) { 17 | std::cout << u1() << "\t" << u2() << "\t" << u3() << std::endl; 18 | } 19 | 20 | } 21 | 22 | //----------------------------------------------------------------------------- 23 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/header: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2005 Maarten Keijzer 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of version 2 of the GNU General Public License as 6 | * published by the Free Software Foundation. 7 | * 8 | * This program is distributed in the hope that it will be useful, 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | * GNU General Public License for more details. 12 | * 13 | * You should have received a copy of the GNU General Public License 14 | * along with this program; if not, write to the Free Software 15 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 | */ 17 | 18 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson1/lesson1_combinedContinuator.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1276174177 # -S : Random number seed 6 | 7 | ###### Persistence ###### 8 | # --status=./lesson1_combinedContinuator.status # Status file 9 | 10 | ###### Representation ###### 11 | # --vecSize=20 # -V : Genotype size 12 | # --fulleval=2 # Maximum number of full evaluation 13 | # --eval=30 # -e : Maximum number of neighbor evaluation 14 | # --fitness=16 # -f : Maximum fitness value to reach 15 | # --iter=10 # -i : Maximum number of iterations 16 | -------------------------------------------------------------------------------- /moeo/tutorial/Lesson1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 1 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files Sch1) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(moeo Lesson1 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${EO_SRC_DIR}/utils 21 | ${MOEO_SRC_DIR}/src) 22 | 23 | 24 | -------------------------------------------------------------------------------- /mo/tutorial/Lesson3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 3 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files testSimulatedAnnealing) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(mo Lesson3 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src 20 | ${MO_SRC_DIR}/src 21 | ${PROBLEMS_SRC_DIR}) 22 | 23 | 24 | -------------------------------------------------------------------------------- /smp/tutorial/Lesson4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 4 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | lesson4_topology 9 | ) 10 | 11 | ###################################################################################### 12 | ### 1) Create the lesson 13 | ###################################################################################### 14 | 15 | add_lesson(smp Lesson4 "${files}") 16 | 17 | ###################################################################################### 18 | ### 2) Include dependencies 19 | ###################################################################################### 20 | 21 | include_directories(${EO_SRC_DIR}/src 22 | ${SMP_SRC_DIR}/src 23 | ${PROBLEMS_SRC_DIR}) 24 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/header: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2005 Maarten Keijzer 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of version 2 of the GNU General Public License as 6 | * published by the Free Software Foundation. 7 | * 8 | * This program is distributed in the hope that it will be useful, 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | * GNU General Public License for more details. 12 | * 13 | * You should have received a copy of the GNU General Public License 14 | * along with this program; if not, write to the Free Software 15 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 | */ 17 | 18 | -------------------------------------------------------------------------------- /smp/tutorial/Lesson2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 2 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | lesson2_homogeneous 9 | ) 10 | 11 | ###################################################################################### 12 | ### 1) Create the lesson 13 | ###################################################################################### 14 | 15 | add_lesson(smp Lesson2 "${files}") 16 | 17 | ###################################################################################### 18 | ### 2) Include dependencies 19 | ###################################################################################### 20 | 21 | include_directories(${EO_SRC_DIR}/src 22 | ${SMP_SRC_DIR}/src 23 | ${PROBLEMS_SRC_DIR}) 24 | -------------------------------------------------------------------------------- /edo/application/common/Sphere.h: -------------------------------------------------------------------------------- 1 | #ifndef _Sphere_h 2 | #define _Sphere_h 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | template < typename EOT > 15 | class Sphere : public eoEvalFunc< EOT > 16 | { 17 | public: 18 | typedef typename EOT::AtomType AtomType; 19 | 20 | virtual void operator()( EOT& p ) 21 | { 22 | if (!p.invalid()) 23 | return; 24 | 25 | p.fitness( _evaluate( p ) ); 26 | } 27 | 28 | private: 29 | AtomType _evaluate( EOT& p ) 30 | { 31 | AtomType r = 0.0; 32 | 33 | for (unsigned int i = 0; i < p.size() - 1; ++i) 34 | { 35 | r += p[i] * p[i]; 36 | } 37 | 38 | return r; 39 | } 40 | }; 41 | 42 | #endif // !_Sphere_h 43 | -------------------------------------------------------------------------------- /eo/tutorial/Lesson1/Makefile.simple: -------------------------------------------------------------------------------- 1 | # if you use this Makefile as a starting point for another application 2 | # you might need to modify the following 3 | DIR_EO = ../../src 4 | 5 | .SUFFIXES: .cpp 6 | 7 | # Warning: $(CXX) in Linux (RedHat and Mandrake at least) is g++ 8 | # However, if you are using this Makefile within xemacs, 9 | # and have problems with the interpretation of the output (and its colors) 10 | # then you should use c++ instead (make CXX=c++ will do) 11 | 12 | .cpp: ; $(CXX) -DPACKAGE=\"eo\" -DVERSION=\"0.9.3\" -I. -I$(DIR_EO) -Wall -g -pg -o $@ $*.cpp $(DIR_EO)/utils/libeoutils.a $(DIR_EO)/libeo.a 13 | 14 | .cpp.o: ; $(CXX) -DPACKAGE=\"eo\" -DVERSION=\"0.9.3\" -I. -I$(DIR_EO) -Wall -g -c -pg $*.cpp 15 | 16 | firstGA = FirstRealGA FirstBitGA 17 | 18 | ALL = $(firstGA) exercise1.3 19 | 20 | lesson1 : $(firstGA) 21 | 22 | all : $(ALL) 23 | 24 | clean : 25 | @/bin/rm $(ALL) *.o *~ 26 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Lesson1/Makefile.simple: -------------------------------------------------------------------------------- 1 | # if you use this Makefile as a starting point for another application 2 | # you might need to modify the following 3 | DIR_EO = ../../src 4 | 5 | .SUFFIXES: .cpp 6 | 7 | # Warning: $(CXX) in Linux (RedHat and Mandrake at least) is g++ 8 | # However, if you are using this Makefile within xemacs, 9 | # and have problems with the interpretation of the output (and its colors) 10 | # then you should use c++ instead (make CXX=c++ will do) 11 | 12 | .cpp: ; $(CXX) -DPACKAGE=\"eo\" -DVERSION=\"0.9.3\" -I. -I$(DIR_EO) -Wall -g -pg -o $@ $*.cpp $(DIR_EO)/utils/libeoutils.a $(DIR_EO)/libeo.a 13 | 14 | .cpp.o: ; $(CXX) -DPACKAGE=\"eo\" -DVERSION=\"0.9.3\" -I. -I$(DIR_EO) -Wall -g -c -pg $*.cpp 15 | 16 | firstGA = FirstRealGA FirstBitGA 17 | 18 | ALL = $(firstGA) exercise1.3 19 | 20 | lesson1 : $(firstGA) 21 | 22 | all : $(ALL) 23 | 24 | clean : 25 | @/bin/rm $(ALL) *.o *~ 26 | -------------------------------------------------------------------------------- /eo/contrib/mathsym/test/test_mf.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "Sym.h" 3 | #include "MultiFunction.h" 4 | #include "FunDef.h" 5 | 6 | using namespace std; 7 | 8 | int main() { 9 | 10 | Sym v = SymVar(0); 11 | Sym c = SymConst(0.1); 12 | 13 | Sym sym = inv(v) + c; 14 | Sym a = sym; 15 | 16 | sym = sym * sym; 17 | Sym b = sym; 18 | sym = sym + sym; 19 | 20 | c = sym; 21 | 22 | vector pop; 23 | pop.push_back(sym); 24 | 25 | MultiFunction m(pop); 26 | 27 | 28 | vector vec(1); 29 | vec[0] = 10.0; 30 | cout << sym << endl; 31 | 32 | cout << "Eval " << eval(sym, vec); 33 | 34 | vector y(1); 35 | 36 | m(vec,y); 37 | 38 | cout << " " << y[0] << endl; 39 | 40 | cout << "3 " << eval(a,vec) << endl; 41 | cout << "4 " << eval(b, vec) << endl; 42 | cout << "5 " << eval(c, vec) << endl; 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /eo/src/ga/Readme: -------------------------------------------------------------------------------- 1 | This directory contains: 2 | 3 | - some standard EO source files, named eoXXXXX, that define objects 4 | for the eoBit representation (bitstrings). 5 | 6 | - some make_XXX.cpp files that are instanciations for EO bitstrings 7 | (eoBit AND eoBit) of the tempatized code 8 | that is defined in the EO src/do dir. 9 | This MK's trick allows to actually compile all these bits in a library 10 | (eolibga.a) and to only recompile the bits you need for your own 11 | (bitstring!) application. 12 | @see src/do/make_XXX.h files, and test/t-eoGA.cpp for an example use. 13 | 14 | Note: 15 | Also are *defined* here two representation dependent make_XXX.h files 16 | (together with their instanciations in make_XXX.cpp), namely the ones 17 | that constructs the EOType initializer (make_genotype.h) and the one 18 | that buils up the operators (make_op.h). 19 | 20 | MS, April 23, 2001CVS 21 | -------------------------------------------------------------------------------- /smp/tutorial/Lesson3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 3 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | lesson3_heterogeneous 9 | #mo-tsp 10 | ) 11 | 12 | ###################################################################################### 13 | ### 1) Create the lesson 14 | ###################################################################################### 15 | 16 | add_lesson(smp Lesson3 "${files}") 17 | 18 | ###################################################################################### 19 | ### 2) Include dependencies 20 | ###################################################################################### 21 | 22 | include_directories(${EO_SRC_DIR}/src 23 | ${SMP_SRC_DIR}/src 24 | ${PROBLEMS_SRC_DIR}) 25 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/mathsym/test/test_mf.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "Sym.h" 3 | #include "MultiFunction.h" 4 | #include "FunDef.h" 5 | 6 | using namespace std; 7 | 8 | int main() { 9 | 10 | Sym v = SymVar(0); 11 | Sym c = SymConst(0.1); 12 | 13 | Sym sym = inv(v) + c; 14 | Sym a = sym; 15 | 16 | sym = sym * sym; 17 | Sym b = sym; 18 | sym = sym + sym; 19 | 20 | c = sym; 21 | 22 | vector pop; 23 | pop.push_back(sym); 24 | 25 | MultiFunction m(pop); 26 | 27 | 28 | vector vec(1); 29 | vec[0] = 10.0; 30 | cout << sym << endl; 31 | 32 | cout << "Eval " << eval(sym, vec); 33 | 34 | vector y(1); 35 | 36 | m(vec,y); 37 | 38 | cout << " " << y[0] << endl; 39 | 40 | cout << "3 " << eval(a,vec) << endl; 41 | cout << "4 " << eval(b, vec) << endl; 42 | cout << "5 " << eval(c, vec) << endl; 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /edo/application/common/Rosenbrock.h: -------------------------------------------------------------------------------- 1 | #ifndef _Rosenbrock_h 2 | #define _Rosenbrock_h 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | template < typename EOT > 15 | class Rosenbrock : public eoEvalFunc< EOT > 16 | { 17 | public: 18 | typedef typename EOT::AtomType AtomType; 19 | 20 | virtual void operator()( EOT& p ) 21 | { 22 | if (!p.invalid()) 23 | return; 24 | 25 | p.fitness( _evaluate( p ) ); 26 | } 27 | 28 | private: 29 | AtomType _evaluate( EOT& p ) 30 | { 31 | AtomType r = 0.0; 32 | 33 | for (unsigned int i = 0; i < p.size() - 1; ++i) 34 | { 35 | r += p[i] * p[i]; 36 | } 37 | 38 | return r; 39 | } 40 | }; 41 | 42 | #endif // !_Rosenbrock_h 43 | -------------------------------------------------------------------------------- /edo/application/eda/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(eda) 2 | 3 | find_package(Boost 1.33.0) 4 | 5 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 6 | 7 | include_directories(${Boost_INCLUDE_DIRS}) 8 | link_directories(${Boost_LIBRARY_DIRS}) 9 | 10 | include_directories(${EO_SRC_DIR}/src) 11 | link_directories(${EO_BIN_DIR}/${LIB}) 12 | include_directories(${EDO_SRC_DIR}/src) 13 | link_directories(${EDO_BIN_DIR}/${LIB}) 14 | 15 | set(RESOURCES 16 | ${PROJECT_NAME}.param 17 | ) 18 | 19 | foreach(FILE ${RESOURCES}) 20 | execute_process( 21 | COMMAND ${CMAKE_COMMAND} -E copy_if_different 22 | ${CMAKE_CURRENT_SOURCE_DIR}/${FILE} 23 | ${EDO_BIN_DIR}/${FILE} 24 | ) 25 | endforeach(FILE) 26 | 27 | file(GLOB SOURCES *.cpp) 28 | 29 | set(EXECUTABLE_OUTPUT_PATH ${EDO_BIN_DIR}) 30 | 31 | add_executable(${PROJECT_NAME} ${SOURCES}) 32 | target_link_libraries(${PROJECT_NAME} eo eoutils edoutils ${Boost_LIBRARIES}) 33 | 34 | -------------------------------------------------------------------------------- /deprecated/eo/src/ga/Readme: -------------------------------------------------------------------------------- 1 | This directory contains: 2 | 3 | - some standard EO source files, named eoXXXXX, that define objects 4 | for the eoBit representation (bitstrings). 5 | 6 | - some make_XXX.cpp files that are instanciations for EO bitstrings 7 | (eoBit AND eoBit) of the tempatized code 8 | that is defined in the EO src/do dir. 9 | This MK's trick allows to actually compile all these bits in a library 10 | (eolibga.a) and to only recompile the bits you need for your own 11 | (bitstring!) application. 12 | @see src/do/make_XXX.h files, and test/t-eoGA.cpp for an example use. 13 | 14 | Note: 15 | Also are *defined* here two representation dependent make_XXX.h files 16 | (together with their instanciations in make_XXX.cpp), namely the ones 17 | that constructs the EOType initializer (make_genotype.h) and the one 18 | that buils up the operators (make_op.h). 19 | 20 | MS, April 23, 2001CVS 21 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/alpha/run_irace.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | outdir="$(date --iso-8601=minutes)_results_irace" 4 | mkdir ${outdir} 5 | cd ${outdir} 6 | 7 | for p in $(seq 0 18) ; do 8 | echo -n "Problem ${p}... " 9 | res="results_problem_${p}" 10 | mkdir ${res} 11 | cd ${res} 12 | 13 | # Fore some reason, irace absolutely need those files... 14 | cp ../../irace-config/example.scen . 15 | cp ../../irace-config/default.instances . 16 | cp ../../release/fastga . 17 | cat ../../irace-config/target-runner | sed "s/{{PROBLEM}}/${p}/" > ./target-runner 18 | chmod u+x target-runner 19 | 20 | # Generate the parameter list file. 21 | ./fastga -h > fastga.param 2>/dev/null 22 | # /usr/lib/R/site-library/irace/bin/irace --scenario example.scen 2>&1 | tee irace.log 23 | /usr/lib/R/site-library/irace/bin/irace --scenario example.scen &> irace.log 24 | 25 | cd .. 26 | echo " done" 27 | done 28 | -------------------------------------------------------------------------------- /eo/src/pyeo/test/test_reduce.py: -------------------------------------------------------------------------------- 1 | from maxone import * 2 | import unittest 3 | 4 | class TestReduce(unittest.TestCase): 5 | def run_test(self, ReduceClass, Arg = None): 6 | pop = eoPop(10, init) 7 | for indy in pop: evaluate(indy) 8 | 9 | if Arg: 10 | red = ReduceClass(Arg) 11 | else: 12 | red = ReduceClass() 13 | 14 | red(pop, 5); 15 | 16 | self.failUnlessEqual( len(pop), 5) 17 | 18 | def test_eoTruncate(self): 19 | self.run_test(eoTruncate) 20 | def test_eoRandomeReduce(self): 21 | self.run_test(eoRandomReduce) 22 | def test_eoEPRReduce(self): 23 | self.run_test(eoEPReduce, 2) 24 | def test_eoLinearTruncate(self): 25 | self.run_test(eoLinearTruncate) 26 | def test_eoDetTournamentTruncate(self): 27 | self.run_test(eoDetTournamentTruncate, 2) 28 | def test_eoStochTournamentTruncate(self): 29 | self.run_test(eoStochTournamentTruncate, 0.9) 30 | 31 | if __name__=='__main__': 32 | unittest.main() 33 | -------------------------------------------------------------------------------- /eo/test/t-eoFunctor.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void f(eoInit& func) 5 | { 6 | int i; 7 | func(i); 8 | } 9 | 10 | class Tester : public eoInit 11 | { 12 | public : 13 | void operator()(int& i) 14 | { 15 | i=1; 16 | } 17 | }; 18 | 19 | #include 20 | #include 21 | #include 22 | 23 | using namespace std; 24 | 25 | int main(void) 26 | { 27 | Tester test; 28 | 29 | eoFunctorStore store; 30 | 31 | /// make a counter and store it in 'store' 32 | eoInit& cntr = make_counter(functor_category(test), test, store); 33 | 34 | eoUnaryFunctorCounter > cntr2(test); 35 | 36 | f(cntr); 37 | f(cntr2); 38 | f(cntr2); 39 | f(test); 40 | 41 | typedef eoVariableLength EoType; 42 | EoType eo; 43 | 44 | eo.push_back(1); 45 | eo.push_back(2); 46 | 47 | return 1; 48 | } 49 | -------------------------------------------------------------------------------- /deprecated/eo/test/t-eoFunctor.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void f(eoInit& func) 5 | { 6 | int i; 7 | func(i); 8 | } 9 | 10 | class Tester : public eoInit 11 | { 12 | public : 13 | void operator()(int& i) 14 | { 15 | i=1; 16 | } 17 | }; 18 | 19 | #include 20 | #include 21 | #include 22 | 23 | using namespace std; 24 | 25 | int main(void) 26 | { 27 | Tester test; 28 | 29 | eoFunctorStore store; 30 | 31 | /// make a counter and store it in 'store' 32 | eoInit& cntr = make_counter(functor_category(test), test, store); 33 | 34 | eoUnaryFunctorCounter > cntr2(test); 35 | 36 | f(cntr); 37 | f(cntr2); 38 | f(cntr2); 39 | f(test); 40 | 41 | typedef eoVariableLength EoType; 42 | EoType eo; 43 | 44 | eo.push_back(1); 45 | eo.push_back(2); 46 | 47 | return 1; 48 | } 49 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/platform/irix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // SGI Irix specific config options: 11 | 12 | #define BOOST_PLATFORM "SGI Irix" 13 | 14 | #define BOOST_NO_SWPRINTF 15 | // 16 | // these are not auto detected by POSIX feature tests: 17 | // 18 | #define BOOST_HAS_GETTIMEOFDAY 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | 21 | #ifdef __GNUC__ 22 | // GNU C on IRIX does not support threads (checked up to gcc 3.3) 23 | # define BOOST_DISABLE_THREADS 24 | #endif 25 | 26 | // boilerplate code: 27 | #define BOOST_HAS_UNISTD_H 28 | #include 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /deprecated/eo/src/pyeo/test/test_reduce.py: -------------------------------------------------------------------------------- 1 | from maxone import * 2 | import unittest 3 | 4 | class TestReduce(unittest.TestCase): 5 | def run_test(self, ReduceClass, Arg = None): 6 | pop = eoPop(10, init) 7 | for indy in pop: evaluate(indy) 8 | 9 | if Arg: 10 | red = ReduceClass(Arg) 11 | else: 12 | red = ReduceClass() 13 | 14 | red(pop, 5); 15 | 16 | self.failUnlessEqual( len(pop), 5) 17 | 18 | def test_eoTruncate(self): 19 | self.run_test(eoTruncate) 20 | def test_eoRandomeReduce(self): 21 | self.run_test(eoRandomReduce) 22 | def test_eoEPRReduce(self): 23 | self.run_test(eoEPReduce, 2) 24 | def test_eoLinearTruncate(self): 25 | self.run_test(eoLinearTruncate) 26 | def test_eoDetTournamentTruncate(self): 27 | self.run_test(eoDetTournamentTruncate, 2) 28 | def test_eoStochTournamentTruncate(self): 29 | self.run_test(eoStochTournamentTruncate, 0.9) 30 | 31 | if __name__=='__main__': 32 | unittest.main() 33 | -------------------------------------------------------------------------------- /edo/application/common/boxplot_eda_n_edasa.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from pylab import * 4 | #from pprint import pprint 5 | 6 | FILE_LOCATIONS = 'EDA_ResPop/list_of_files.txt' 7 | 8 | data = [] 9 | 10 | locations = [ line.split()[0] for line in open( FILE_LOCATIONS ) ] 11 | #pprint( locations ) 12 | 13 | for cur_file in locations: 14 | fitnesses = [ float(line.split()[0]) for line in open( cur_file ).readlines()[1:-1] ] 15 | data.append( fitnesses[1:] ) 16 | 17 | #pprint( data ) 18 | 19 | boxplot( data ) 20 | 21 | # FILE_LOCATIONS = 'EDASA_ResPop/list_of_files.txt' 22 | 23 | # data = [] 24 | 25 | # locations = [ line.split()[0] for line in open( FILE_LOCATIONS ) ] 26 | # #pprint( locations ) 27 | 28 | # for cur_file in locations: 29 | # fitnesses = [ float(line.split()[0]) for line in open( cur_file ).readlines()[1:-1] ] 30 | # data.append( fitnesses[1:] ) 31 | 32 | # #pprint( data ) 33 | 34 | # boxplot( data ) 35 | 36 | show() 37 | -------------------------------------------------------------------------------- /eo/src/utils/eoGnuplot1DSnapshot.cpp: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "eoGnuplot1DSnapshot.h" 6 | 7 | 8 | 9 | eoMonitor& eoGnuplot1DSnapshot::operator()() 10 | { 11 | // update file using the eoFileMonitor method 12 | eoFileSnapshot::operator()(); 13 | #ifdef HAVE_GNUPLOT 14 | // sends plot order to gnuplot 15 | std::ostringstream os; 16 | os << "set title 'Gen. " << getCounter() << "'; plot '" 17 | // mk: had to use getFilename().c_str(), 18 | // because it seems the string(stream) lib is screwed in gcc3.2 19 | << getFileName().c_str() << "' notitle with points ps " << pointSize 20 | << std::endl; 21 | PipeComSend(gpCom, os.str().c_str()); 22 | #endif 23 | return *this; 24 | } 25 | 26 | 27 | // Local Variables: 28 | // coding: iso-8859-1 29 | // mode: C++ 30 | // c-file-offsets: ((c . 0)) 31 | // c-file-style: "Stroustrup" 32 | // fill-column: 80 33 | // End: 34 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/platform/irix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // SGI Irix specific config options: 11 | 12 | #define BOOST_PLATFORM "SGI Irix" 13 | 14 | #define BOOST_NO_SWPRINTF 15 | // 16 | // these are not auto detected by POSIX feature tests: 17 | // 18 | #define BOOST_HAS_GETTIMEOFDAY 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | 21 | #ifdef __GNUC__ 22 | // GNU C on IRIX does not support threads (checked up to gcc 3.3) 23 | # define BOOST_DISABLE_THREADS 24 | #endif 25 | 26 | // boilerplate code: 27 | #define BOOST_HAS_UNISTD_H 28 | #include 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /edo/src/utils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 1) Include the sources 3 | ###################################################################################### 4 | 5 | include_directories(${EO_SRC_DIR}/src) 6 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 7 | 8 | ###################################################################################### 9 | ### 2) Define the target 10 | ###################################################################################### 11 | 12 | set(EDOUTILS_LIB_OUTPUT_PATH ${EO_BIN_DIR}/lib) 13 | set(LIBRARY_OUTPUT_PATH ${EDOUTILS_LIB_OUTPUT_PATH}) 14 | 15 | file(GLOB SOURCES *.cpp) 16 | add_library(edoutils ${SOURCES}) 17 | install(TARGETS edoutils EXPORT paradiseo-targets ARCHIVE DESTINATION ${LIB} COMPONENT libraries) 18 | 19 | set(EDOUTILS_VERSION ${GLOBAL_VERSION}) 20 | set_target_properties(edoutils PROPERTIES VERSION "${EDOUTILS_VERSION}") 21 | 22 | -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/css/deck.goto.css: -------------------------------------------------------------------------------- 1 | .deck-container .goto-form { 2 | position: absolute; 3 | z-index: 3; 4 | bottom: 10px; 5 | left: 50%; 6 | height: 1.75em; 7 | margin: 0 0 0 -9.125em; 8 | line-height: 1.75em; 9 | padding: 0.625em; 10 | display: none; 11 | background: #ccc; 12 | overflow: hidden; 13 | } 14 | .borderradius .deck-container .goto-form { 15 | -webkit-border-radius: 10px; 16 | -moz-border-radius: 10px; 17 | border-radius: 10px; 18 | } 19 | .deck-container .goto-form label { 20 | font-weight: bold; 21 | } 22 | .deck-container .goto-form label, .deck-container .goto-form input { 23 | display: inline-block; 24 | font-family: inherit; 25 | } 26 | 27 | .deck-goto .goto-form { 28 | display: block; 29 | } 30 | 31 | #goto-slide { 32 | width: 8.375em; 33 | margin: 0 0.625em; 34 | height: 1.4375em; 35 | } 36 | 37 | @media print { 38 | .goto-form, #goto-slide { 39 | display: none !important; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /eo/tutorial/Templates/README.tmpl: -------------------------------------------------------------------------------- 1 | This is an autogenerated EO project. It was (most probably) generated 2 | using the createEOproject.sh script in the 3 | /tutorial/Templates directory. 4 | 5 | The project has a complete build-infrastructure based on 6 | automake/autoconf. You can simply run "make" in this directory to have 7 | the program compiled. The executable build will be in src/. In case of 8 | problem during this step, please read the README file in the 9 | ...eo-dir/tutorial/Templates directory. 10 | 11 | After creation, the project should compile nicely - but of course the 12 | resulting program does noting at all but print a few silly lines. 13 | 14 | Fill in the marked code-snippets in the files in src/ and you have a 15 | complete EA project (detailed explanations in EO Tutorial - Lesson 5). 16 | 17 | Enjoy! 18 | 19 | 20 | For details, for example on moving your project around or adding new 21 | files, see /tutorial/Templates/README. 22 | -------------------------------------------------------------------------------- /deprecated/eo/src/utils/eoGnuplot1DSnapshot.cpp: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "eoGnuplot1DSnapshot.h" 6 | 7 | 8 | 9 | eoMonitor& eoGnuplot1DSnapshot::operator()() 10 | { 11 | // update file using the eoFileMonitor method 12 | eoFileSnapshot::operator()(); 13 | #ifdef HAVE_GNUPLOT 14 | // sends plot order to gnuplot 15 | std::ostringstream os; 16 | os << "set title 'Gen. " << getCounter() << "'; plot '" 17 | // mk: had to use getFilename().c_str(), 18 | // because it seems the string(stream) lib is screwed in gcc3.2 19 | << getFileName().c_str() << "' notitle with points ps " << pointSize 20 | << std::endl; 21 | PipeComSend(gpCom, os.str().c_str()); 22 | #endif 23 | return *this; 24 | } 25 | 26 | 27 | // Local Variables: 28 | // coding: iso-8859-1 29 | // mode: C++ 30 | // c-file-offsets: ((c . 0)) 31 | // c-file-style: "Stroustrup" 32 | // fill-column: 80 33 | // End: 34 | -------------------------------------------------------------------------------- /eo/contrib/boost/config/compiler/greenhills.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Greenhills C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // we don't support Greenhills prior to version 0: 17 | #if __ghs < 0 18 | # error "Compiler not supported or configured - please reconfigure" 19 | #endif 20 | // 21 | // last known and checked version is 0: 22 | #if (__ghs > 0) 23 | # if defined(BOOST_ASSERT_CONFIG) 24 | # error "Unknown compiler version - please run the configure tests and report the results" 25 | # endif 26 | #endif 27 | 28 | 29 | -------------------------------------------------------------------------------- /deprecated/eo/tutorial/Templates/README.tmpl: -------------------------------------------------------------------------------- 1 | This is an autogenerated EO project. It was (most probably) generated 2 | using the createEOproject.sh script in the 3 | /tutorial/Templates directory. 4 | 5 | The project has a complete build-infrastructure based on 6 | automake/autoconf. You can simply run "make" in this directory to have 7 | the program compiled. The executable build will be in src/. In case of 8 | problem during this step, please read the README file in the 9 | ...eo-dir/tutorial/Templates directory. 10 | 11 | After creation, the project should compile nicely - but of course the 12 | resulting program does noting at all but print a few silly lines. 13 | 14 | Fill in the marked code-snippets in the files in src/ and you have a 15 | complete EA project (detailed explanations in EO Tutorial - Lesson 5). 16 | 17 | Enjoy! 18 | 19 | 20 | For details, for example on moving your project around or adding new 21 | files, see /tutorial/Templates/README. 22 | -------------------------------------------------------------------------------- /eo/tutorial/Parallelization/css/deck.scale.css: -------------------------------------------------------------------------------- 1 | /* Remove this line if you are embedding deck.js in a page and 2 | using the scale extension. */ 3 | .csstransforms { 4 | overflow: hidden; 5 | } 6 | 7 | .csstransforms .deck-container.deck-scale:not(.deck-menu) > .slide { 8 | -webkit-box-sizing: padding-box; 9 | -moz-box-sizing: padding-box; 10 | box-sizing: padding-box; 11 | width: 100%; 12 | padding-bottom: 20px; 13 | } 14 | .csstransforms .deck-container.deck-scale:not(.deck-menu) > .slide > .deck-slide-scaler { 15 | -webkit-transform-origin: 50% 0; 16 | -moz-transform-origin: 50% 0; 17 | -o-transform-origin: 50% 0; 18 | -ms-transform-origin: 50% 0; 19 | transform-origin: 50% 0; 20 | } 21 | 22 | .csstransforms .deck-container.deck-menu .deck-slide-scaler { 23 | -webkit-transform: none !important; 24 | -moz-transform: none !important; 25 | -o-transform: none !important; 26 | -ms-transform: none !important; 27 | transform: none !important; 28 | } 29 | -------------------------------------------------------------------------------- /moeo/tutorial/Lesson2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 2 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files FlowShopEA) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(moeo Lesson2 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src) 20 | include_directories(${MOEO_SRC_DIR}/src) 21 | include_directories(${FLOWSHOP_SRC_DIR}) 22 | 23 | target_link_libraries(FlowShopEA moeo flowshop eo eoutils) 24 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Current maintainers 2 | =================== 3 | 4 | Johann Dreo 5 | 6 | 7 | Past contributors 8 | ================= 9 | 10 | atantar 11 | Alesandro Sidero 12 | Alexandre Quemy 13 | Alix Zheng 14 | Amine Aziz-Alaoui 15 | Arnaud Liefooghe 16 | Benjamin Bouvier 17 | Bahri 18 | Caner Candan 19 | Clive Canape 20 | fatene 21 | Gustavo Romero Lopez 22 | jboisson 23 | Jeroen Eggermont 24 | Jochen Küpper 25 | Joost 26 | Juan Julian Merelo Guervos 27 | Jérémie Humeau 28 | Jxtopher 29 | Karima Boufaras 30 | legillono 31 | Leo Bertheas 32 | Louis Da Costa 33 | Loïc Jean David Arjanen 34 | Maarten Keijzer 35 | Mammar Amara 36 | Manu 37 | Marc Schoenauer 38 | Marie-Éleonore 39 | Mostepha Khouadjia 40 | Olivier König 41 | Pierre Savéant 42 | Pedro Angel Castillo Valdivieso 43 | Potalas 44 | Ronald Pinho 45 | Steve Madere 46 | Sébastien Cahon 47 | Sébastien Verel 48 | Thomas Legrand 49 | Thibault Lasnier 50 | Victor Manuel Rivas Santos 51 | wcancino 52 | xohm 53 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/planF/riaF.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | date -Iseconds 4 | echo "STARTS" 5 | myhome=$1 6 | scratchpath=$2 7 | #dir=${HOME}/plan2/${name} 8 | mexp=$3 #budget irace 9 | mevals=$4 #budget fastga 10 | name="dataF_maxExp=${mexp}_maxEv=${mevals}_$(date --iso-8601=seconds)" 11 | dir=${scratchpath}/dataFAR/dataF/${name} 12 | mkdir -p ${dir} 13 | 14 | for r in $(seq 2); do 15 | echo "Run $r/15"; 16 | #date -Iseconds 17 | #cmd="qsub -N irace_${runs}_${buckets}" -q beta -l select=1:ncpus=1 -l walltime=00:04:00 --${HOME}/run_irace.sh ${dir} 18 | cmd="qsub -N iraceF_${mevals}_run=${r} -q beta -l select=1:ncpus=1 -l walltime=00:25:00 -- ${scratchpath}/planF/r_iF.sh ${dir} ${r} ${mexp} ${mevals} ${myhome}" 19 | #time -p bash ${HOME}/plan2/run_irace2.sh ${dir} ${r} &> ${dir}/erreur_${r}.txt 20 | #bash ${HOME}/test/r_i.sh 21 | echo $cmd 22 | $cmd 23 | #date -Iseconds 24 | done 25 | 26 | #echo "DONE" 27 | #date -Iseconds 28 | #echo $(pwd) 29 | -------------------------------------------------------------------------------- /moeo/tutorial/Lesson3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 3 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files FlowShopEA2) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(moeo Lesson3 "${files}") 14 | 15 | ###################################################################################### 16 | ### 2) Include dependencies 17 | ###################################################################################### 18 | 19 | include_directories(${EO_SRC_DIR}/src) 20 | include_directories(${MOEO_SRC_DIR}/src) 21 | include_directories(${FLOWSHOP_SRC_DIR}) 22 | 23 | target_link_libraries(FlowShopEA2 moeo flowshop eo eoutils) 24 | -------------------------------------------------------------------------------- /moeo/tutorial/Lesson4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 4 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files FlowShopDMLS) 8 | 9 | ###################################################################################### 10 | ### 1) Create the lesson 11 | ###################################################################################### 12 | 13 | add_lesson(moeo Lesson4 "${files}") 14 | 15 | include_directories(${EO_SRC_DIR}/src) 16 | include_directories(${MOEO_SRC_DIR}/src) 17 | include_directories(${FLOWSHOP_SRC_DIR}) 18 | 19 | ###################################################################################### 20 | ### 2) Include dependencies 21 | ###################################################################################### 22 | 23 | target_link_libraries(FlowShopDMLS moeo flowshop eo eoutils) 24 | -------------------------------------------------------------------------------- /deprecated/eo/contrib/boost/config/compiler/greenhills.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Greenhills C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // we don't support Greenhills prior to version 0: 17 | #if __ghs < 0 18 | # error "Compiler not supported or configured - please reconfigure" 19 | #endif 20 | // 21 | // last known and checked version is 0: 22 | #if (__ghs > 0) 23 | # if defined(BOOST_ASSERT_CONFIG) 24 | # error "Unknown compiler version - please run the configure tests and report the results" 25 | # endif 26 | #endif 27 | 28 | 29 | -------------------------------------------------------------------------------- /mo/src/memory/moMemory.h: -------------------------------------------------------------------------------- 1 | #ifndef _moMemory_h 2 | #define _moMemory_h 3 | 4 | /** 5 | * Abstract class for different memory 6 | */ 7 | template< class Neighbor > 8 | class moMemory //: public eoObject 9 | { 10 | public: 11 | typedef typename Neighbor::EOT EOT; 12 | 13 | /** 14 | * Init the memory 15 | * @param _sol the current solution 16 | */ 17 | virtual void init(EOT & _sol) = 0; 18 | 19 | /** 20 | * Add data to the memory 21 | * @param _sol the current solution 22 | * @param _neighbor the current neighbor 23 | */ 24 | virtual void add(EOT & _sol, Neighbor & _neighbor) = 0; 25 | 26 | /** 27 | * update the memory 28 | * @param _sol the current solution 29 | * @param _neighbor the current neighbor 30 | */ 31 | virtual void update(EOT & _sol, Neighbor & _neighbor) = 0; 32 | 33 | /** 34 | * clear the memory 35 | */ 36 | virtual void clearMemory() = 0; 37 | 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /eo/contrib/irace/expe/beta/planA/riaA.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bashi 2 | myhome=$1 3 | scratchpath=$2 4 | mexp=$3 5 | mevals=$4 6 | date -Iseconds 7 | echo "STARTS" 8 | dir=${scratchpath}/dataFAR/dataA 9 | #dir=${HOME}/plan4/${name} 10 | #cat ${HOME}/irace_files_pA/example.scen |sed "s/maxExperiments = 0/maxExperiments = ${mexp}/" > ${HOME}/irace_files_pA/example.scen 11 | 12 | mkdir -p ${dir} 13 | outdir="${dir}/dataA_maxExp=${mexp}_maxEv=${mevals}_$(date --iso-8601=seconds)" 14 | mkdir -p ${outdir} 15 | for r in $(seq 2); do 16 | echo "Run $r/15"; 17 | cmd="qsub -N iraceA_maxEv_${r} -q beta -l select=1:ncpus=1 -l walltime=00:25:00 -- ${scratchpath}/planA/r_iA.sh ${outdir} ${r} ${mexp} ${mevals} ${myhome}" 18 | #cmd="bash ./r_iA_buckets.sh ${outdir} ${r} ${mexp} ${mevals}" 19 | echo $cmd 20 | time -p $cmd 21 | done 22 | echo "DONE" 23 | #cat ${HOME}/irace_files_pA/example.scen |sed "s/maxExperiments = ${mexp}/maxExperiments = 0/" > ${HOME}/irace_files_pA/example.scen 24 | date -Iseconds 25 | 26 | -------------------------------------------------------------------------------- /eo/src/pyeo/Makefile.rpm: -------------------------------------------------------------------------------- 1 | # Makefile for people that build boost using the rpm-recipe 2 | 3 | CXX = g++ #-3.2 4 | CXXFLAGS = #-g #-DNDEBUG 5 | CPPFLAGS = -Wall -O2 6 | LDFLAGS = -L/usr/lib/python2.2/config/ 7 | COMPILE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c 8 | LINK = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) 9 | INC=-I/usr/include/python2.2 -I/usr/include/stlport -I.. -ftemplate-depth-50 10 | 11 | OBJECTS=eoFunctorStore.o PyEO.o abstract1.o algos.o \ 12 | random_numbers.o geneticOps.o selectOne.o continuators.o\ 13 | reduce.o replacement.o selectors.o breeders.o\ 14 | mergers.o valueParam.o perf2worth.o monitors.o\ 15 | statistics.o 16 | 17 | all: PyEO.so 18 | 19 | clean: 20 | rm *.so *.o test/*.pyc 21 | 22 | PyEO.so: $(OBJECTS) 23 | $(LINK) -o PyEO.so $(OBJECTS) -lboost_python -lpython2.2 -shared #-lstlport 24 | 25 | eoFunctorStore.o: ../eoFunctorStore.h ../eoFunctorStore.cpp 26 | $(COMPILE) -o eoFunctorStore.o ../eoFunctorStore.cpp $(INC) 27 | 28 | %.o:%.cpp PyEO.h def_abstract_functor.h 29 | $(COMPILE) $< $(INC) 30 | -------------------------------------------------------------------------------- /eo/src/utils/eoUpdater.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | #pragma warning(disable:4786) 3 | #endif 4 | 5 | #ifdef HAVE_CONFIG_H 6 | #include 7 | #endif 8 | 9 | #include 10 | 11 | #include "eoState.h" 12 | #include "eoUpdater.h" 13 | 14 | using namespace std; 15 | 16 | void eoTimedStateSaver::operator()(void) 17 | { 18 | time_t now = time(0); 19 | 20 | if (now >= last_time + interval) 21 | { 22 | last_time = now; 23 | ostringstream os; 24 | os << prefix << (now - first_time) << '.' << extension; 25 | state.save(os.str()); 26 | } 27 | } 28 | 29 | void eoCountedStateSaver::doItNow(void) 30 | { 31 | ostringstream os; 32 | os << prefix << counter << '.' << extension; 33 | state.save(os.str()); 34 | } 35 | 36 | void eoCountedStateSaver::operator()(void) 37 | { 38 | if (++counter % interval == 0) 39 | doItNow(); 40 | } 41 | 42 | void eoCountedStateSaver::lastCall(void) 43 | { 44 | if (saveOnLastCall) 45 | doItNow(); 46 | } 47 | -------------------------------------------------------------------------------- /smp/test/t-data.dat: -------------------------------------------------------------------------------- 1 | 12 224416 2 | 3 | 0 27 85 2 1 15 11 35 11 20 21 61 4 | 27 0 80 58 21 76 72 44 85 94 90 51 5 | 85 80 0 3 48 29 90 66 41 15 83 96 6 | 2 58 3 0 74 45 65 40 54 83 14 71 7 | 1 21 48 74 0 77 36 53 37 26 87 76 8 | 15 76 29 45 77 0 91 13 29 11 77 32 9 | 11 72 90 65 36 91 0 87 67 94 79 2 10 | 35 44 66 40 53 13 87 0 10 99 56 70 11 | 11 85 41 54 37 29 67 10 0 99 60 4 12 | 20 94 15 83 26 11 94 99 99 0 56 2 13 | 21 90 83 14 87 77 79 56 60 56 0 60 14 | 61 51 96 71 76 32 2 70 4 2 60 0 15 | 16 | 0 21 95 82 56 41 6 25 10 4 63 6 17 | 21 0 44 40 75 79 0 89 35 9 1 85 18 | 95 44 0 84 12 0 26 91 11 35 82 26 19 | 82 40 84 0 69 56 86 45 91 59 18 76 20 | 56 75 12 69 0 39 18 57 36 61 36 21 21 | 41 79 0 56 39 0 71 11 29 82 82 6 22 | 6 0 26 86 18 71 0 71 8 77 74 30 23 | 25 89 91 45 57 11 71 0 89 76 76 40 24 | 10 35 11 91 36 29 8 89 0 93 56 1 25 | 4 9 35 59 61 82 77 76 93 0 50 4 26 | 63 1 82 18 36 82 74 76 56 50 0 36 27 | 6 85 26 76 21 6 30 40 1 4 36 0 28 | -------------------------------------------------------------------------------- /smp/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include lessons subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(Lesson1) 6 | add_subdirectory(Lesson2) 7 | add_subdirectory(Lesson3) 8 | add_subdirectory(Lesson4) 9 | 10 | ###################################################################################### 11 | ### 0) Install BaseFile for all lessons and data 12 | ###################################################################################### 13 | 14 | install(FILES BaseLesson.h DESTINATION include${INSTALL_SUB_DIR}/smp/tutorial COMPONENT tutorial) 15 | 16 | execute_process( 17 | COMMAND ${CMAKE_COMMAND} -E copy_if_different 18 | ${CMAKE_CURRENT_SOURCE_DIR}/lessonData.dat 19 | ${CMAKE_CURRENT_BINARY_DIR}/lessonData.dat) 20 | install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/lessonData.dat DESTINATION share${INSTALL_SUB_DIR}/smp/tutorial COMPONENT tutorial) 21 | --------------------------------------------------------------------------------