├── ParadisEO-2.0.1 ├── eo │ ├── THANKS │ ├── src │ │ ├── pyeo │ │ │ ├── NEWS │ │ │ ├── AUTHORS │ │ │ ├── README │ │ │ ├── Makefile.rpm │ │ │ ├── valueParam.h │ │ │ ├── Makefile │ │ │ └── mergers.cpp │ │ ├── other │ │ │ └── external_eo │ │ ├── es │ │ │ ├── ChangeLog │ │ │ ├── eig.h │ │ │ ├── matrices.h │ │ │ └── CMAParams.h │ │ ├── ga │ │ │ ├── ChangeLog │ │ │ ├── Readme │ │ │ └── CMakeLists.txt │ │ ├── utils │ │ │ ├── ChangeLog │ │ │ ├── eoData.cpp │ │ │ ├── eoRNG.cpp │ │ │ ├── eoGnuplot1DSnapshot.cpp │ │ │ ├── eoUpdater.cpp │ │ │ ├── eoParserLogger.h │ │ │ ├── eoSignal.cpp │ │ │ ├── pipecom.h │ │ │ ├── eoGenCounter.h │ │ │ └── CMakeLists.txt │ │ ├── eoPersistent.cpp │ │ ├── eoFunctorStore.cpp │ │ ├── eoPrintable.cpp │ │ ├── do │ │ │ └── Readme │ │ ├── ga.h │ │ ├── eoScalarFitnessAssembled.cpp │ │ └── eoSIGContinue.cpp │ ├── ToDo │ ├── contrib │ │ ├── MGE │ │ │ └── ChangeLog │ │ ├── mathsym │ │ │ ├── tcc.tar.gz │ │ │ ├── tcc_patched.tar.gz │ │ │ ├── README.TCC │ │ │ ├── eval │ │ │ │ ├── MultiFuncs.cpp │ │ │ │ ├── MultiFunction.h │ │ │ │ ├── c_compile.c │ │ │ │ └── sym_compile.h │ │ │ ├── eo_interface │ │ │ │ ├── eoSymLambdaMutate.cpp │ │ │ │ └── eoSymLambdaMutate.h │ │ │ ├── header │ │ │ ├── sym │ │ │ │ └── token.h │ │ │ ├── fun │ │ │ │ ├── util.cpp │ │ │ │ └── SymOps.h │ │ │ ├── gen │ │ │ │ └── TreeBuilder.cpp │ │ │ └── regression │ │ │ │ └── Dataset.h │ │ ├── eo-pso-22062007.bz2 │ │ └── boost │ │ │ ├── config │ │ │ ├── abi_prefix.hpp │ │ │ ├── abi_suffix.hpp │ │ │ ├── compiler │ │ │ │ ├── vacpp.hpp │ │ │ │ ├── sunpro_cc.hpp │ │ │ │ ├── compaq_cxx.hpp │ │ │ │ ├── sgi_mipspro.hpp │ │ │ │ ├── greenhills.hpp │ │ │ │ ├── kai.hpp │ │ │ │ └── digitalmars.hpp │ │ │ ├── platform │ │ │ │ ├── amigaos.hpp │ │ │ │ ├── solaris.hpp │ │ │ │ ├── beos.hpp │ │ │ │ ├── irix.hpp │ │ │ │ ├── aix.hpp │ │ │ │ ├── cygwin.hpp │ │ │ │ └── win32.hpp │ │ │ └── stdlib │ │ │ │ ├── vacpp.hpp │ │ │ │ ├── modena.hpp │ │ │ │ ├── libcomo.hpp │ │ │ │ └── msl.hpp │ │ │ └── numeric │ │ │ ├── interval.hpp │ │ │ └── interval │ │ │ ├── arith.hpp │ │ │ ├── arith2.hpp │ │ │ ├── limits.hpp │ │ │ ├── transc.hpp │ │ │ ├── checking.hpp │ │ │ ├── compare.hpp │ │ │ ├── interval.hpp │ │ │ ├── rounding.hpp │ │ │ ├── utility.hpp │ │ │ ├── constants.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 │ │ │ ├── x86_rounding_control.hpp │ │ │ ├── c99sub_rounding_control.hpp │ │ │ ├── sparc_rounding_control.hpp │ │ │ └── x86gcc_rounding_control.hpp │ │ │ ├── hw_rounding.hpp │ │ │ ├── rounded_arith.hpp │ │ │ ├── compare │ │ │ └── explicit.hpp │ │ │ ├── rounded_transc.hpp │ │ │ ├── ext │ │ │ └── x86_fast_rounding_control.hpp │ │ │ └── io.hpp │ ├── pc.cmake │ ├── CTestConfig.cmake │ ├── AUTHORS │ ├── app │ │ ├── CMakeLists.txt │ │ └── gprop │ │ │ └── CMakeLists.txt │ ├── PKGBUILD.cmake │ └── ConfigureChecks.cmake ├── moeo │ ├── tutorial │ │ ├── examples │ │ │ ├── flowshop │ │ │ │ └── benchs │ │ │ │ │ ├── README │ │ │ │ │ ├── 020_05_01.txt │ │ │ │ │ ├── 020_05_02.txt │ │ │ │ │ ├── 020_10_01.txt │ │ │ │ │ ├── 020_10_02.txt │ │ │ │ │ └── 020_20_01.txt │ │ │ └── CMakeLists.txt │ │ ├── Lesson1 │ │ │ ├── Sch1.param │ │ │ └── CMakeLists.txt │ │ ├── Lesson2 │ │ │ ├── CMakeLists.txt │ │ │ └── FlowShopEA.param │ │ ├── Lesson3 │ │ │ └── CMakeLists.txt │ │ ├── Lesson4 │ │ │ ├── CMakeLists.txt │ │ │ └── FlowShopDMLS.param │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ └── src │ │ └── utils │ │ └── moeoFullEvalByCopy.h ├── AUTHORS ├── smp │ ├── tutorial │ │ ├── CMakeLists.txt │ │ └── Lesson1 │ │ │ ├── lesson1_data.dat │ │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ └── src │ │ ├── MWAlgo │ │ ├── eoSyncEasyPSO.cpp │ │ ├── eoEasyPSO.cpp │ │ ├── eoEasyEA.cpp │ │ └── MWAlgo.h │ │ ├── smp │ │ └── smp.h ├── CTestConfig.cmake └── mo │ ├── tutorial │ ├── CMakeLists.txt │ ├── Lesson5 │ │ ├── testILS.param │ │ └── CMakeLists.txt │ ├── Lesson7 │ │ ├── hybridAlgo.param │ │ └── CMakeLists.txt │ ├── Lesson1 │ │ ├── lesson1_firstImprHC.param │ │ ├── lesson1_randomBestHC.param │ │ ├── lesson1_simpleHC.param │ │ ├── lesson1_fitContinuator.param │ │ ├── lesson1_iterContinuator.param │ │ ├── lesson1_neutralHC.param │ │ ├── lesson1_evalContinuator.param │ │ ├── lesson1_fullEvalContinuator.param │ │ ├── firstImprHC_maxSAT.param │ │ ├── lesson1_combinedContinuator.param │ │ └── CMakeLists.txt │ ├── Lesson2 │ │ ├── testNeighborhood.param │ │ └── CMakeLists.txt │ ├── Lesson3 │ │ ├── testSimulatedAnnealing.param │ │ └── CMakeLists.txt │ ├── Lesson6 │ │ ├── testRandomWalk.param │ │ ├── testMetropolisHasting.param │ │ ├── fdc.param │ │ ├── adaptiveWalks.param │ │ ├── densityOfStates.param │ │ ├── fitnessCloud.param │ │ ├── sampling.param │ │ ├── autocorrelation.param │ │ ├── testRandomNeutralWalk.param │ │ ├── neutralDegree.param │ │ ├── neutralWalk.param │ │ └── CMakeLists.txt │ ├── Lesson4 │ │ ├── testSimpleTS.param │ │ └── CMakeLists.txt │ └── Lesson9 │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ └── src │ ├── CMakeLists.txt │ └── memory │ └── moMemory.h ├── .gitmodules ├── OMOptim ├── Core │ ├── Optim │ │ └── EA │ │ │ ├── SA1 │ │ │ ├── sa1moshiftneighbor.cpp │ │ │ ├── SA1Archive.h │ │ │ ├── SA1FitnessAssignement.h │ │ │ ├── myEOArchiveUpdater.h │ │ │ └── SA1moSolNeighborComparator.h │ │ │ ├── EA │ │ │ ├── PSO │ │ │ ├── updateGbest.h │ │ │ └── updatePbest.h │ │ │ └── Init │ │ │ └── EAAdaptReinitStdDev.h │ ├── Tools │ │ ├── reportingHook.h │ │ ├── ModPlusOMExeCtrl.h │ │ ├── vqtconvert.h │ │ └── vqtconvert.cpp │ ├── Modelica │ │ ├── ModelicaHENImplementer.cpp │ │ ├── ModelicaHENImplementer.h │ │ └── ModPlusCtrls.h │ ├── ExeModel.cpp │ ├── OptObjectives.h │ ├── OptObjectives.cpp │ ├── ExeModel.h │ ├── PlugInterface.h │ ├── Problems │ │ ├── onesimulationinterface.h │ │ └── optimizationinterface.h │ ├── ModPlusDymolaExeCtrl.h │ └── ModPlusBlackBoxExeCtrl.h ├── GUI │ ├── Resources │ │ ├── rc_omoptim.rc │ │ ├── Mines.PNG │ │ ├── icons │ │ │ ├── Add.png │ │ │ ├── Globe.png │ │ │ ├── Play.png │ │ │ ├── Save.png │ │ │ ├── Undo.png │ │ │ ├── Delete.png │ │ │ ├── Folder.png │ │ │ ├── Refresh.png │ │ │ ├── Search.png │ │ │ ├── Settings.png │ │ │ ├── exe-icon.png │ │ │ ├── block-icon.png │ │ │ ├── class-icon.png │ │ │ ├── info-icon.png │ │ │ ├── model-icon.png │ │ │ ├── type-icon.png │ │ │ ├── Synchronize.png │ │ │ ├── package-icon.png │ │ │ ├── record-icon.png │ │ │ └── connector-icon.png │ │ ├── omoptim.icns │ │ ├── omoptim.ico │ │ └── OMOptim.qrc │ ├── Tabs │ │ ├── TabOMC.ui │ │ └── TabProject.ui │ ├── Widgets │ │ ├── WidgetOptTable.ui │ │ ├── WidgetBlocks.ui │ │ ├── WidgetToolBar.ui │ │ └── widgetloadexemodel.h │ └── Dialogs │ │ └── newprojectform.ui ├── Doc │ ├── Folders.xmind │ ├── ReadMe.docx │ ├── Images │ │ ├── Folders.png │ │ ├── Project.png │ │ ├── ProblemInterface.png │ │ └── CodeStructureOMOptim.png │ ├── HowProblemWorks.pptx │ ├── OMOptimDeveloperDocumentation.pdf │ ├── OMOptimDeveloperDocumentation.docx │ ├── Project.txt │ ├── OMOptimDoc.txt │ └── Models.txt ├── tools │ └── Installer │ │ ├── OMOptim.ico │ │ ├── Update.iss │ │ └── SelfInstall.iss ├── omc_config.h.in ├── config.h ├── version.h ├── scriptparseromoptim.h ├── buildOMOptim.pro └── build │ ├── OMOptim.config.in │ └── Makefile.unix.in ├── OMOptimBasis ├── GUI │ ├── Resources │ │ ├── Mines.PNG │ │ └── OMOptimBasis.qrc │ ├── Tabs │ │ └── TabProjectBase.ui │ ├── Widgets │ │ └── WidgetMOItem.ui │ ├── Dialogs │ │ └── NewProjectBaseForm.ui │ └── Tools │ │ └── qsciencespinbox.h ├── doc │ ├── Images │ │ ├── ProjectBase.png │ │ └── ProblemInterface.png │ ├── ProblemInterface.txt │ ├── ProjectBase.txt │ ├── OMOptimBasisDoc.txt │ ├── Extension.txt │ ├── ProblemsDoc.txt │ └── AddANewOptimAlgo.txt ├── build │ ├── OMOptimBasis.config.in │ ├── Makefile.unix.in │ ├── Makefile.omdev.mingw │ └── OMOptimBasis.windowsconfig.in ├── Units │ └── Units.h ├── registermetatypes.cpp ├── Tools │ ├── OMProcess.cpp │ └── OMProcess.h ├── registermetatypes.h └── Problems │ └── ProblemInterfaces.h ├── .gitattributes ├── ParadisEO-2.0.1.txt ├── .gitignore └── README.md /ParadisEO-2.0.1/eo/THANKS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/pyeo/NEWS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/pyeo/AUTHORS: -------------------------------------------------------------------------------- 1 | 2 | Maarten Keijzer (mkeijzer@cs.vu.nl) 3 | 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "common"] 2 | path = common 3 | url = ../OpenModelica-common.git 4 | -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/SA1/sa1moshiftneighbor.cpp: -------------------------------------------------------------------------------- 1 | #include "sa1moshiftneighbor.h" 2 | 3 | -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/rc_omoptim.rc: -------------------------------------------------------------------------------- 1 | IDI_ICON1 ICON DISCARDABLE "omoptim.ico" -------------------------------------------------------------------------------- /OMOptim/Doc/Folders.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/Folders.xmind -------------------------------------------------------------------------------- /OMOptim/Doc/ReadMe.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/ReadMe.docx -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/pyeo/README: -------------------------------------------------------------------------------- 1 | 2 | See BUILDING for details on how to build this thing 3 | 4 | 5 | -------------------------------------------------------------------------------- /OMOptim/Doc/Images/Folders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/Images/Folders.png -------------------------------------------------------------------------------- /OMOptim/Doc/Images/Project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/Images/Project.png -------------------------------------------------------------------------------- /OMOptim/Core/Tools/reportingHook.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if defined(WIN32) 4 | void setFilterDebugHook(void); 5 | #endif -------------------------------------------------------------------------------- /OMOptim/Doc/HowProblemWorks.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/HowProblemWorks.pptx -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/Mines.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/Mines.PNG -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/other/external_eo: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Add.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/omoptim.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/omoptim.icns -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/omoptim.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/omoptim.ico -------------------------------------------------------------------------------- /OMOptim/tools/Installer/OMOptim.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/tools/Installer/OMOptim.ico -------------------------------------------------------------------------------- /OMOptim/tools/Installer/Update.iss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/tools/Installer/Update.iss -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/es/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/src/es/ChangeLog -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/ga/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/src/ga/ChangeLog -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Globe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Globe.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Play.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Save.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Undo.png -------------------------------------------------------------------------------- /OMOptimBasis/GUI/Resources/Mines.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptimBasis/GUI/Resources/Mines.PNG -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/ToDo: -------------------------------------------------------------------------------- 1 | See the code-documentation for details. 2 | General ToDos should be documented at the end of doc/index.h. 3 | -------------------------------------------------------------------------------- /OMOptim/Doc/Images/ProblemInterface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/Images/ProblemInterface.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Delete.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Folder.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Refresh.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Search.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Settings.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/exe-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/exe-icon.png -------------------------------------------------------------------------------- /OMOptim/tools/Installer/SelfInstall.iss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/tools/Installer/SelfInstall.iss -------------------------------------------------------------------------------- /OMOptimBasis/doc/Images/ProjectBase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptimBasis/doc/Images/ProjectBase.png -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/MGE/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/MGE/ChangeLog -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/utils/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/src/utils/ChangeLog -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/block-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/block-icon.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/class-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/class-icon.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/info-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/info-icon.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/model-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/model-icon.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/type-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/type-icon.png -------------------------------------------------------------------------------- /OMOptim/Doc/Images/CodeStructureOMOptim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/Images/CodeStructureOMOptim.png -------------------------------------------------------------------------------- /OMOptim/Doc/OMOptimDeveloperDocumentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/OMOptimDeveloperDocumentation.pdf -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/Synchronize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/Synchronize.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/package-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/package-icon.png -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/record-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/record-icon.png -------------------------------------------------------------------------------- /OMOptim/omc_config.h.in: -------------------------------------------------------------------------------- 1 | #define CONFIG_DEFAULT_OPENMODELICAHOME "@OPENMODELICAHOME@" 2 | #define GIT_SHA "@SOURCE_REVISION@" 3 | @LSB_RELEASE@ 4 | -------------------------------------------------------------------------------- /OMOptimBasis/doc/Images/ProblemInterface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptimBasis/doc/Images/ProblemInterface.png -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/mathsym/tcc.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/mathsym/tcc.tar.gz -------------------------------------------------------------------------------- /OMOptim/Doc/OMOptimDeveloperDocumentation.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/Doc/OMOptimDeveloperDocumentation.docx -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/icons/connector-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/OMOptim/GUI/Resources/icons/connector-icon.png -------------------------------------------------------------------------------- /OMOptimBasis/GUI/Resources/OMOptimBasis.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | Mines.PNG 4 | 5 | 6 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/eo-pso-22062007.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/eo-pso-22062007.bz2 -------------------------------------------------------------------------------- /OMOptim/Core/Modelica/ModelicaHENImplementer.cpp: -------------------------------------------------------------------------------- 1 | #include "ModelicaHENImplementer.h" 2 | 3 | ModelicaHENImplementer::ModelicaHENImplementer() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/config/abi_prefix.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/config/abi_suffix.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/mathsym/tcc_patched.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/mathsym/tcc_patched.tar.gz -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/config/compiler/vacpp.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/config/compiler/vacpp.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/arith.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/arith2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/arith2.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/limits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/limits.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/transc.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/config/compiler/sunpro_cc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/config/compiler/sunpro_cc.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/checking.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/checking.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/compare.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/compare.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/interval.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/interval.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounding.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/utility.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/constants.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/bugs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/bugs.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/hw_rounding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/hw_rounding.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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/ -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounded_arith.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounded_arith.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/compare/explicit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/compare/explicit.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounded_transc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/rounded_transc.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/test_input.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/test_input.hpp -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/EA: -------------------------------------------------------------------------------- 1 | #include "EABase.h" 2 | #include "NSGA2/NSGA2.h" 3 | #include "SPEA2/SPEA2.h" 4 | #include "SPEA2Adaptative/SPEA2Adapt.h" 5 | //#include "PSO/PSO.h" 6 | #include "SA1/SA1.h" 7 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/AUTHORS: -------------------------------------------------------------------------------- 1 | Main developers: 2 | 3 | Sébastien Cahon 4 | Jérémie Humeau 5 | Arnaud Liefooghe 6 | Sebastien Verel 7 | Nourdine Melab 8 | 9 | Team leader: 10 | 11 | El-Ghazali Talbi 12 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/interval_prototype.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/bcc_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/c99_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/msvc_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/ppc_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/x86_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/c99sub_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/sparc_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/detail/x86gcc_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMOptim/master/ParadisEO-2.0.1/eo/contrib/boost/numeric/interval/ext/x86_fast_rounding_control.hpp -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/config.h: -------------------------------------------------------------------------------- 1 | #ifndef CONFIG_H 2 | #define CONFIG_H 3 | 4 | #include "ModPlusCtrl.h" 5 | 6 | // Fonctions included 7 | //#define USEBLOCKSUB 8 | 9 | // Default 10 | #define DEFAULTSIMULATOR 1 //0:OpenModelica, 1:Dymola 11 | 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/utils/eoData.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Jochen Küpper 2 | 3 | 4 | #include "eoData.h" 5 | 6 | 7 | 8 | // Local Variables: 9 | // c-file-style: "Stroustrup" 10 | // fill-column: 80 11 | // End: 12 | -------------------------------------------------------------------------------- /OMOptim/Core/Modelica/ModelicaHENImplementer.h: -------------------------------------------------------------------------------- 1 | #ifndef MODELICAHENIMPLEMENTER_H 2 | #define MODELICAHENIMPLEMENTER_H 3 | 4 | class ModelicaHENImplementer 5 | { 6 | public: 7 | ModelicaHENImplementer(); 8 | }; 9 | 10 | #endif // MODELICAHENIMPLEMENTER_H 11 | -------------------------------------------------------------------------------- /OMOptimBasis/build/OMOptimBasis.config.in: -------------------------------------------------------------------------------- 1 | QMAKE_CC = @CC@ 2 | QMAKE_CXX = @CXX@ 3 | QMAKE_LINK = @CXX@ 4 | 5 | LIBS += -L@OPENMODELICAHOME@/lib/@host_short@/omc -lomqwt @RPATH_QMAKE@ 6 | INCLUDEPATH += @OPENMODELICAHOME@/include/omplot/qwt 7 | 8 | QMAKE_LFLAGS += @LDFLAGS@ 9 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.c text eol=lf 2 | *.cpp text eol=lf 3 | *.h text eol=lf 4 | *.m4 text eol=lf 5 | .gitattributes text eol=lf 6 | .gitignore text eol=lf 7 | *.md text eol=lf 8 | LICENSE text eol=lf 9 | configure.ac text eol=lf 10 | Makefile* text eol=lf 11 | *.pro text eol=lf 12 | -------------------------------------------------------------------------------- /OMOptim/version.h: -------------------------------------------------------------------------------- 1 | #ifndef VERSION_H 2 | #define VERSION_H 3 | 4 | #include 5 | #include "omc_config.h" 6 | 7 | namespace Version 8 | { 9 | 10 | static QString version() 11 | { 12 | return QString(GIT_SHA); 13 | } 14 | } 15 | 16 | #endif // VERSION_H 17 | -------------------------------------------------------------------------------- /OMOptimBasis/Units/Units.h: -------------------------------------------------------------------------------- 1 | #ifndef UNITS_H 2 | #define UNITS_H 3 | 4 | 5 | #include "MEDimValue.h" 6 | #include "MEHTCoeff.h" 7 | #include "MEMassFlow.h" 8 | #include "MESpecHeatCapacity.h" 9 | #include "MESurface.h" 10 | #include "METemperature.h" 11 | 12 | 13 | #endif // UNITS_H 14 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/smp/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include lessons subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(Lesson1) 6 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 5 | add_subdirectory(flowshop) 6 | 7 | -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/SA1/SA1Archive.h: -------------------------------------------------------------------------------- 1 | #ifndef SA1ARCHIVE_H 2 | #define SA1ARCHIVE_H 3 | 4 | #include 5 | ///************************************ 6 | // ARCHIVE 7 | // ************************************/ 8 | moeoUnboundedArchive arch; 9 | 10 | 11 | #endif // SA1ARCHIVE_H 12 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Doc/Project.txt: -------------------------------------------------------------------------------- 1 | /*! \page pageProject Project 2 | 3 | In OMOptim, each session of the user corresponds to a project (class Project). Only one project is loaded at a time. Project class inherits ProjectBase (cf. \ref pageProjectBase). 4 | 5 | Compared to its mother class, Project adds models management (cf. \ref pageModels). 6 | 7 | \image html Images/Project.png "Project overview" width=10cm 8 | 9 | 10 | 11 | 12 | **/ -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1.txt: -------------------------------------------------------------------------------- 1 | mv ParadisEO-2.0 ParadisEO-2.0.1 2 | rm -r ParadisEO-2.0.1/eo/tutorial/ ParadisEO-2.0.1/moeo/doc ParadisEO-2.0.1/mo/doc ParadisEO-2.0.1/smp/doc ParadisEO-2.0.1/eo/doc 3 | rm -r ParadisEO-2.0.1/moeo/test ParadisEO-2.0.1/mo/test ParadisEO-2.0.1/smp/test ParadisEO-2.0.1/eo/contrib/mathsym/test ParadisEO-2.0.1/eo/test ParadisEO-2.0.1/eo/src/pyeo/test 4 | rm -r ParadisEO-2.0.1/problems/ 5 | sed -i "/ADD_SUBDIRECTORY.doc/Id" ParadisEO-2.0.1/*/CMakeLists.txt 6 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Doc/OMOptimDoc.txt: -------------------------------------------------------------------------------- 1 | /*! \mainpage OMOptim 2 | 3 | OMOptim is an optimization software dedicated to optimization. 4 | 5 | It is based on OMOptimLib which itself is based on OMOptimBasis. 6 | 7 | \image html Images/CodeStructureOMOptim.png "Code architecture" width=10cm 8 | 9 | \section Project 10 | Each user session corresponds to a project (class Project). Only one project is loaded at a time. See \ref pageProject for more information. 11 | 12 | 13 | **/ 14 | -------------------------------------------------------------------------------- /OMOptimBasis/registermetatypes.cpp: -------------------------------------------------------------------------------- 1 | #include "registermetatypes.h" 2 | #include "Info.h" 3 | 4 | #include 5 | 6 | RegisterMetaTypes::RegisterMetaTypes() 7 | { 8 | } 9 | 10 | void RegisterMetaTypes::init() 11 | { 12 | // Register classes as a metaType 13 | 14 | // Needed for Info communication between threads 15 | // or even for simple connect functions 16 | qRegisterMetaType(); 17 | 18 | qRegisterMetaType< QList >( "QList" ); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /OMOptim/GUI/Tabs/TabOMC.ui: -------------------------------------------------------------------------------- 1 | 2 | TabOMC_Class 3 | 4 | 5 | 6 | 0 7 | 0 8 | 927 9 | 748 10 | 11 | 12 | 13 | Form 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/doc/ProblemInterface.txt: -------------------------------------------------------------------------------- 1 | /*! \page pageProblemInterface ProblemInterface 2 | 3 | ProblemInterface offers to ProjectBase instance the needed functions to handle problems and their corresponding interface. Especially, it offers instantiation function, GUI functions and save/load functions. 4 | 5 | \image html Images/ProblemInterface.png "ProblemInterface functionalities" width=10cm 6 | 7 | This class allows to easily extend tools to support new kind of problems/results. One can see how to do this on this page : \ref pageAddANewProblem. 8 | 9 | 10 | 11 | 12 | **/ 13 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/mo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 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("MO Examples :") 14 | endif(${CMAKE_VERBOSE_MAKEFILE}) 15 | add_subdirectory(tutorial) 16 | endif(ENABLE_CMAKE_EXAMPLE) 17 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | 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("MOEO Examples :") 14 | endif(${CMAKE_VERBOSE_MAKEFILE}) 15 | add_subdirectory(tutorial) 16 | endif(ENABLE_CMAKE_EXAMPLE) 17 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/smp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include subdirectories 3 | ###################################################################################### 4 | add_subdirectory(src) 5 | 6 | if(ENABLE_CMAKE_TESTING) 7 | add_subdirectory(test) 8 | endif(ENABLE_CMAKE_TESTING) 9 | 10 | if(ENABLE_CMAKE_EXAMPLE) 11 | if(${CMAKE_VERBOSE_MAKEFILE}) 12 | message("PEO Examples :") 13 | endif(${CMAKE_VERBOSE_MAKEFILE}) 14 | add_subdirectory(tutorial) 15 | endif(ENABLE_CMAKE_EXAMPLE) 16 | 17 | 18 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/scriptparseromoptim.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTPARSEROMOPTIM_H 2 | #define SCRIPTPARSEROMOPTIM_H 3 | 4 | #include "scriptparser.h" 5 | 6 | class Project; 7 | 8 | class ScriptParserOMOptim : public ScriptParserOMOptimBasis 9 | { 10 | 11 | public: 12 | ScriptParserOMOptim(Project*); 13 | 14 | 15 | virtual QString helpText(); 16 | static QString annexHelpText(); 17 | 18 | virtual void initFunctions(); 19 | 20 | 21 | protected: 22 | virtual bool launchFunction(QString function, QStringList args, bool & foundFunction); 23 | Project* _project; 24 | }; 25 | 26 | #endif // SCRIPTPARSEROMOPTIM_H 27 | -------------------------------------------------------------------------------- /OMOptimBasis/build/Makefile.unix.in: -------------------------------------------------------------------------------- 1 | .PHONY: install build $(NAME) always 2 | 3 | top_dir=../../ 4 | NAME=OMOptimBasis 5 | DEST=. 6 | EXE=@EXE@ 7 | QMAKE=@QMAKE@ 8 | 9 | default: build 10 | 11 | always: 12 | 13 | $(NAME): Makefile $(NAME).config 14 | $(MAKE) -f Makefile 15 | 16 | build: $(NAME) 17 | 18 | Makefile: $(NAME).pro $(NAME).config 19 | $(QMAKE) $< 20 | Makefile.unix: Makefile.unix.in 21 | (cd $(top_dir); ./config.status) 22 | $(NAME).config: $(NAME).config.in 23 | (cd $(top_dir); ./config.status) 24 | 25 | clean: 26 | test ! -f Makefile || $(MAKE) -f Makefile clean 27 | rm -f *.o *.so* *.a 28 | 29 | -------------------------------------------------------------------------------- /OMOptim/Core/ExeModel.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "ExeModel.h" 4 | 5 | ExeModel::ExeModel(QString name,QFileInfo exeFilePath, QFileInfo inputFilePath) 6 | :ModItem(NULL) 7 | { 8 | _name = name; 9 | _file = exeFilePath; 10 | _inputFile = inputFilePath; 11 | _exeFile = exeFilePath; 12 | } 13 | 14 | QString ExeModel::getStrToolTip() 15 | { 16 | QString toolTip; 17 | toolTip += ("Executable Model: " + _name + "\n"); 18 | toolTip += ("File: " + _exeFile.absoluteFilePath() + "\n"); 19 | toolTip += ("InputFile: " + _inputFile.absoluteFilePath() + "\n"); 20 | return toolTip; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /OMOptimBasis/Tools/OMProcess.cpp: -------------------------------------------------------------------------------- 1 | #include "OMProcess.h" 2 | #include "InfoSender.h" 3 | 4 | OMProcess::OMProcess(QObject *parent) : 5 | QProcess(parent) 6 | { 7 | 8 | _dispOut = true; 9 | 10 | setProcessChannelMode(MergedChannels); 11 | if(_dispOut) 12 | connect(this,SIGNAL(readyReadStandardOutput()),this,SLOT(onReadyRead())); 13 | } 14 | 15 | void OMProcess::onReadyRead() 16 | { 17 | QString msg = "["+_appName+"] : "+QString(readAllStandardOutput()); 18 | InfoSender::instance()->send(Info(msg)); 19 | } 20 | 21 | void OMProcess::setAppName(QString appName) 22 | { 23 | _appName = appName; 24 | } 25 | -------------------------------------------------------------------------------- /OMOptimBasis/Tools/OMProcess.h: -------------------------------------------------------------------------------- 1 | #ifndef OMPROCESS_H 2 | #define OMPROCESS_H 3 | 4 | #include 5 | #include 6 | 7 | /** 8 | * OMProcess inherits QProcess. It allows to forward stdout information to infosender. 9 | * Therefore, user can see command results. 10 | */ 11 | class OMProcess : public QProcess 12 | { 13 | Q_OBJECT 14 | public: 15 | explicit OMProcess(QObject *parent = 0); 16 | void setAppName(QString appName); 17 | signals: 18 | 19 | public slots: 20 | void onReadyRead(); 21 | 22 | private : 23 | bool _dispOut; 24 | QString _appName; 25 | 26 | }; 27 | 28 | #endif // OMPROCESS_H 29 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/doc/ProjectBase.txt: -------------------------------------------------------------------------------- 1 | /*! \page pageProjectBase ProjectBase 2 | 3 | 4 | Each session of the user corresponds to a project (class ProjectBase). Only one project is loaded at a time. Project instance holds main containers : 5 | - List of problems (class Problems) 6 | - List of results (class Results) 7 | - Modelica tree (class ModClassTree) : this class contains all modelica items loaded in OMC. 8 | - Files paths (project, loaded mo files, loaded mmo files...) 9 | 10 | 11 | It's from Project that main managing functions are called : save, addProblem, launchProblem... 12 | 13 | \image html ./Images/ProjectBase.png "ProjectBase overview" width=10cm 14 | 15 | **/ -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/GUI/Widgets/WidgetOptTable.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WidgetOptTableClass 4 | 5 | 6 | 7 | 0 8 | 0 9 | 722 10 | 179 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/registermetatypes.h: -------------------------------------------------------------------------------- 1 | #ifndef REGISTERMETATYPES_H 2 | #define REGISTERMETATYPES_H 3 | 4 | #include 5 | #include "ProjectBase.h" 6 | #include "InfoSender.h" 7 | 8 | class RegisterMetaTypes 9 | { 10 | public: 11 | RegisterMetaTypes(); 12 | 13 | static void init(); 14 | }; 15 | 16 | class ApplicationQuiter : public QObject 17 | { 18 | Q_OBJECT 19 | public : 20 | ApplicationQuiter(ProjectBase* project){_project = project;} 21 | 22 | public slots: 23 | void onApplicationQuit() 24 | { 25 | // delete _project; 26 | InfoSender::destroy(); 27 | } 28 | 29 | protected : 30 | ProjectBase* _project; 31 | }; 32 | 33 | #endif // REGISTERMETATYPES_H 34 | -------------------------------------------------------------------------------- /OMOptim/GUI/Widgets/WidgetBlocks.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WidgetBlocksClass 4 | 5 | 6 | 7 | 0 8 | 0 9 | 732 10 | 274 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/PSO/updateGbest.h: -------------------------------------------------------------------------------- 1 | #ifndef UPDATEGBEST_H 2 | #define UPDATEGBEST_H 3 | 4 | 5 | #include "eoPop.h" 6 | #include "utils/eoRNG.h" 7 | #include "archive/moeoUnboundedArchive.h" 8 | 9 | 10 | 11 | 12 | 13 | template 14 | 15 | class UpdateGbest 16 | { 17 | public: 18 | void operator() (EOT & gbest, const moeoUnboundedArchive& arch) 19 | { 20 | int i = eo::rng.random(arch.size()); 21 | 22 | gbest.doubleVars = (arch[i]).doubleVars; 23 | gbest.intVars = (arch[i]).intVars; 24 | gbest.boolVars = (arch[i]).boolVars; 25 | gbest.objectiveVector((arch[i]).objectiveVector()); 26 | } 27 | }; 28 | 29 | 30 | 31 | 32 | 33 | #endif // UPDATEGBEST_H 34 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/OptObjectives.h: -------------------------------------------------------------------------------- 1 | #ifndef OPTOBJECTIVES_H 2 | #define OPTOBJECTIVES_H 3 | 4 | #include "OptObjective.h" 5 | #include "MOVector.h" 6 | 7 | class ModelPlus; 8 | class ModModelPlus; 9 | 10 | /** 11 | * OptObjectives is a container for several variables. It contains a reference to 12 | * modModelPlus concerned in order to improve display. Except this function, 13 | * it acts as MOVector 14 | */ 15 | class OptObjectives : public MOVector 16 | { 17 | public: 18 | OptObjectives(bool owner,QObject* parent); 19 | 20 | QVariant data(const QModelIndex &index, int role) const; 21 | 22 | OptObjectives* clone() const; 23 | 24 | 25 | }; 26 | 27 | 28 | #endif // OPTOBJECTIVES_H 29 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/OptObjectives.cpp: -------------------------------------------------------------------------------- 1 | #include "OptObjectives.h" 2 | 3 | #include "ModModelPlus.h" 4 | 5 | OptObjectives::OptObjectives(bool owner, QObject *parent) 6 | :MOVector(owner,parent) 7 | { 8 | } 9 | 10 | QVariant OptObjectives::data(const QModelIndex &index, int role) const 11 | { 12 | return MOVector::data(index,role); 13 | } 14 | 15 | OptObjectives* OptObjectives::clone() const 16 | { 17 | OptObjectives* newVector = new OptObjectives(true,NULL); 18 | 19 | int i; 20 | OptObjective* newItem; 21 | for(i=0;isize();i++) 22 | { 23 | newItem = new OptObjective(*this->at(i)); 24 | newVector->addItem(newItem); 25 | } 26 | return newVector; 27 | } 28 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/doc/OMOptimBasisDoc.txt: -------------------------------------------------------------------------------- 1 | /*! \page pageOMOptimBasis OMOptimBasis 2 | 3 | OMOptimBasis is a library containing main classes of OMOptim but that can be used in other libraries (e.g. OMOptim, PluginEI). While it is historically linked, there is no mention of Modelica in OMOptimBasis. It is focused on ProjectBase class, Problems, Results and ProblemInterface. 4 | 5 | Its main goal is to make several components compatible each other and to offer basic but useful functions. 6 | 7 | The most useful classes are listed below: 8 | 9 | -# ProjectBase (cf. \ref pageProjectBase) 10 | -# Problem (cf. \ref pageProblems) 11 | -# MOItem 12 | -# MOVector 13 | 14 | It offers also graphical user interface items (widgets, tabs, dialogs...). 15 | 16 | 17 | 18 | **/ 19 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/Problems/ProblemInterfaces.h: -------------------------------------------------------------------------------- 1 | #ifndef PROBLEMINTERFACES_H 2 | #define PROBLEMINTERFACES_H 3 | 4 | 5 | #include 6 | #include 7 | 8 | class ProblemInterface; 9 | class Problem; 10 | class Result; 11 | 12 | class ProblemInterfaces : public QMap 13 | { 14 | 15 | public : 16 | bool addProblemInterface(ProblemInterface* itf); 17 | bool addProblemInterfaces(QList itfs); 18 | bool removeProblemInterface(QString problemInterfaceName); 19 | 20 | ProblemInterface* interfaceOf(Problem* problem); 21 | ProblemInterface* interfaceOf(Result* result); 22 | ProblemInterface* interfaceOf(QString caseType); 23 | 24 | QList uniqueInterfaces(); 25 | }; 26 | 27 | 28 | 29 | #endif // PROBLEMINTERFACES_H 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /Makefile 2 | Makefile.unix 3 | OMOptim/buildOMOptim.pro.* 4 | OMOptim*/bin/ 5 | OMOptim*/build/release/ 6 | OMOptim*/build/debug/ 7 | OMOptim/omc_config.h 8 | OMOptim/Core/OMC/omc_communication.cpp 9 | OMOptim/Core/OMC/omc_communication.h 10 | OMOptim/Core/OMC/omc_config.h 11 | OMOptim/build/MakefileLib 12 | OMOptim/build/omc_communication.cc 13 | OMOptim/build/omc_communication.cpp 14 | OMOptim/build/omc_communication.h 15 | OMOptim*/build/Makefile 16 | OMOptim*/build/Makefile.Debug 17 | OMOptim*/build/Makefile.Release 18 | OMOptim*/build/MakefileLib.Debug 19 | OMOptim*/build/MakefileLib.Release 20 | OMOptim*/build/object_script.* 21 | ParadisEO-2.0.1/build/ 22 | autom4te.cache/ 23 | config.guess 24 | config.sub 25 | config.log 26 | config.status 27 | configure 28 | *.config 29 | install-sh 30 | qmake.sh 31 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/SA1/SA1FitnessAssignement.h: -------------------------------------------------------------------------------- 1 | #ifndef SA1FITNESSASSIGNEMENT_H 2 | #define SA1FITNESSASSIGNEMENT_H 3 | 4 | 5 | #include 6 | 7 | 8 | 9 | template< class EOT, class MEOEFitness = double > 10 | class SA1FitnessAssignement 11 | { 12 | public: 13 | void operator() (EOT & sol) 14 | { 15 | MEOEFitness fit = 0.0; 16 | EOStdObjectiveVector objVec = sol.objectiveVector(); 17 | 18 | for(int i=0; i< (EOStdObjectiveVector::nObjectives()); i++) 19 | { 20 | if(EOStdObjectiveVector::minimizing(i)) 21 | fit += (-(sol.objectiveVector()).at(i)); 22 | else 23 | fit += (sol.objectiveVector()).at(i); 24 | } 25 | sol.fitness(fit); 26 | }; 27 | 28 | 29 | }; 30 | 31 | #endif // SA1FITNESSASSIGNEMENT_H 32 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/build/Makefile.omdev.mingw: -------------------------------------------------------------------------------- 1 | ifeq ($(OMBUILDDIR),) 2 | $(error OMBUILDDIR variable is not set.) 3 | endif 4 | 5 | builddir_lib=$(OMBUILDDIR)/lib 6 | 7 | .PHONY: install build $(NAME) always 8 | 9 | NAME=OMOptimBasis 10 | LIB=libOMOptimBasis 11 | LIBEXE=.a 12 | ifeq ($(OM_QT_MAJOR_VERSION),6) 13 | QMAKE=qmake6 14 | else 15 | QMAKE=qmake 16 | endif 17 | 18 | install: build 19 | cp ../bin/$(LIB)$(LIBEXE) $(builddir_lib)/omc 20 | 21 | always: 22 | 23 | $(NAME): Makefile 24 | $(MAKE) -f Makefile 25 | 26 | build: $(NAME) 27 | cp -p ../bin/$(LIB)$(LIBEXE) $(builddir_lib)/omc 28 | 29 | Makefile: $(NAME).pro 30 | $(QMAKE) "CONFIG+=release" $< 31 | 32 | clean: Makefile 33 | test ! -f Makefile || $(MAKE) -f Makefile clean 34 | rm -rf ../bin/$(LIB)$(LIBEXE) Makefile Makefile.Debug Makefile.Release object_script.* debug/ release/ 35 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/ExeModel.h: -------------------------------------------------------------------------------- 1 | #ifndef EXEMODEL_H 2 | #define EXEMODEL_H 3 | 4 | // QT Headers 5 | #include 6 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 7 | #include 8 | #else 9 | #include 10 | #include 11 | #endif 12 | 13 | #include "ModItem.h" 14 | #include "OMOptimModelica.h" 15 | 16 | class ExeModel : public ModItem 17 | { 18 | private: 19 | QFileInfo _inputFile; 20 | QFileInfo _exeFile; 21 | 22 | public: 23 | ExeModel(QString name,QFileInfo exeFile, QFileInfo inputFilePath); 24 | Modelica::ClassRestr getClassRestr(){return Modelica::EXECUTABLE;} 25 | virtual QString getClassName() const {return "ExeModel";} 26 | virtual QString getStrToolTip(); 27 | 28 | QFileInfo inputFile(){return _inputFile;} 29 | QFileInfo exeFile(){return _exeFile;} 30 | }; 31 | 32 | #endif // EXEMODEL_H 33 | -------------------------------------------------------------------------------- /OMOptim/GUI/Widgets/WidgetToolBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WidgetToolBarClass 4 | 5 | 6 | 7 | 0 8 | 0 9 | 530 10 | 178 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | -370 20 | 80 21 | 883 22 | 53 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/buildOMOptim.pro: -------------------------------------------------------------------------------- 1 | ### This .pro file also asks to build OMOptimBasis 2 | TEMPLATE = subdirs 3 | CONFIG += ordered 4 | 5 | 6 | SUBDIRS += OMOptimBasis \ 7 | OMOptimLib \ 8 | OMOptim 9 | 10 | 11 | OMOptimBasis.file = ../OMOptimBasis/build/OMOptimBasis.pro 12 | 13 | OMOptimLib.file = build/OMOptimLib.pro 14 | OMOptimLib.depends = OMOptimBasis 15 | 16 | OMOptim.file = build/OMOptim.pro 17 | OMOptim.depends = OMOptimLib 18 | 19 | 20 | ## copy dependent files after compiling 21 | win32 { 22 | release_libs.files = 23 | release_libs.path = ./bin 24 | 25 | debug_libs.files = 26 | debug_libs.path = ./bin 27 | 28 | 29 | CONFIG(debug, debug|release){ 30 | INSTALLS += debug_libs 31 | }else{ 32 | message("Release libs") 33 | INSTALLS += release_libs 34 | } 35 | 36 | } 37 | 38 | unix { 39 | ## For unix builds 40 | # MY_LIB_FILES += $$QMAKE_LIBDIR_QT/...xxxxxx.... 41 | } 42 | -------------------------------------------------------------------------------- /OMOptim/GUI/Tabs/TabProject.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | TabProject_Class 4 | 5 | 6 | 7 | 0 8 | 0 9 | 987 10 | 691 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 1 19 | 20 | 21 | 1 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /OMOptimBasis/GUI/Tabs/TabProjectBase.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | TabProjectBase_Class 4 | 5 | 6 | 7 | 0 8 | 0 9 | 987 10 | 691 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 1 19 | 20 | 21 | 1 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptim/Core/PlugInterface.h: -------------------------------------------------------------------------------- 1 | #ifndef PLUGINTERFACE_H 2 | #define PLUGINTERFACE_H 3 | 4 | // QT Headers 5 | #include 6 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 7 | #include 8 | #else 9 | #include 10 | #include 11 | #include 12 | #endif 13 | 14 | class PlugInterface 15 | { 16 | 17 | 18 | public: 19 | PlugInterface(){} 20 | virtual ~PlugInterface(){} 21 | virtual QString name() const =0; 22 | virtual QString outputFileName() const =0; 23 | virtual QStringList dllFileNamesUsedByExeFile() const =0; 24 | virtual void readVarsFromInitFile(QString fileName, QDomDocument & doc) const =0; 25 | virtual void writeInInitFile(QString fileName, QDomDocument & doc) const =0; 26 | virtual void readResultsFromOutputFile(QString fileName, QDomDocument & doc) const =0; 27 | }; 28 | 29 | 30 | Q_DECLARE_INTERFACE(PlugInterface, "com.interfaceIdentifier/1.0") 31 | 32 | 33 | #endif // PLUGINTERFACE_H 34 | -------------------------------------------------------------------------------- /OMOptimBasis/doc/Extension.txt: -------------------------------------------------------------------------------- 1 | /*! \page pageAddANewProblem How to add a new kind of problem 2 | 3 | Tools based on OMOptimBasis can be extended in different ways. This document illustrates how to add a new kind of problem. 4 | 5 | \section Add a new kind of problem 6 | To add your own kind of problem, one should procede in several steps : 7 | 8 | - create MyProblem class, inheriting Problem 9 | - create MyResult class, inheriting Result 10 | - create MyProblemInterface class, inheriting ProblemInterface. 11 | 12 | Please note that sometimes, MyResult could be similar to an existing result (e.g. OptimResult). In that case, you don't need to create a new class. 13 | 14 | \subsection sec Create MyProblem class 15 | 16 | 17 | \subsection sec Create MyProblemInterface class 18 | 19 | 20 | \section sec Add a new Optimization algorithm 21 | \subsection(Add it directly in OMOptimLib) 22 | 23 | 24 | 25 | \subsection Add it in your extension 26 | 27 | 28 | 29 | 30 | **/ 31 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /OMOptimBasis/GUI/Widgets/WidgetMOItem.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WidgetMOItemClass 4 | 5 | 6 | 7 | 0 8 | 0 9 | 582 10 | 300 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | ItemName 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ###################################################################################### 2 | ### 0) Include MO sources 3 | ###################################################################################### 4 | 5 | include_directories(${MO_SRC_DIR}/src) 6 | 7 | ###################################################################################### 8 | ### 1) Define flowshop paths 9 | ###################################################################################### 10 | 11 | set(FLOWSHOP_SRC_DIR ${MOEO_SRC_DIR}/tutorial/examples/flowshop) 12 | set(FLOWSHOP_BINARY_DIR ${MOEO_BIN_DIR}/tutorial/examples/flowshop) 13 | 14 | ###################################################################################### 15 | ### 2) Include lessons subdirectories 16 | ###################################################################################### 17 | 18 | add_subdirectory(examples) 19 | add_subdirectory(Lesson1) 20 | add_subdirectory(Lesson2) 21 | add_subdirectory(Lesson3) 22 | add_subdirectory(Lesson4) 23 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/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 12 | #include 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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/smp/tutorial/Lesson1/lesson1_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 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/boost/config/platform/aix.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 | // IBM/Aix specific config options: 9 | 10 | #define BOOST_PLATFORM "IBM Aix" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_NANOSLEEP 15 | #define BOOST_HAS_CLOCK_GETTIME 16 | 17 | // This needs support in "boost/cstdint.hpp" exactly like FreeBSD. 18 | // This platform has header named which includes all 19 | // the things needed. 20 | #define BOOST_HAS_STDINT_H 21 | 22 | // Threading API's: 23 | #define BOOST_HAS_PTHREADS 24 | #define BOOST_HAS_PTHREAD_DELAY_NP 25 | #define BOOST_HAS_SCHED_YIELD 26 | //#define BOOST_HAS_PTHREAD_YIELD 27 | 28 | // boilerplate code: 29 | #include 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/Lesson4/FlowShopDMLS.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | # --help=0 # -h : Prints this message 4 | # --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1275660123 # -S : Random number seed 6 | 7 | ###### Evolution Engine ###### 8 | # --nhSize=20 # -G : neighborhood size 9 | # --popSize=20 # -P : Population Size 10 | 11 | ###### Persistence ###### 12 | # --Load= # -L : A save file to restart from 13 | # --recomputeFitness=0 # -r : Recompute the fitness after re-loading the pop.? 14 | # --status=./FlowShopDMLS.status # Status file 15 | 16 | ###### Representation ###### 17 | # --BenchmarkFile=../examples/flowshop/benchs/020_20_01.txt # -B : Benchmark file name 18 | 19 | ###### Stopping criterion ###### 20 | # --maxGen=100 # -G : Maximum number of gen. 21 | -------------------------------------------------------------------------------- /OMOptim/Core/Problems/onesimulationinterface.h: -------------------------------------------------------------------------------- 1 | #ifndef ONESIMULATIONINTERFACE_H 2 | #define ONESIMULATIONINTERFACE_H 3 | 4 | #include "ProblemInterface.h" 5 | #include "OneSimulation.h" 6 | #include "OneSimResult.h" 7 | 8 | 9 | class OneSimulationInterface : public ProblemInterface 10 | { 11 | 12 | public : 13 | 14 | virtual Problem* createNewProblem(ProjectBase*,const QStringList ,QString problemType); 15 | 16 | QWidget* createProblemTab(Problem *,QWidget* parent); 17 | QWidget* createResultTab(Result *,QWidget* parent); 18 | 19 | 20 | virtual ModelNeeds modelNeeds(QString){return ONEMODEL;} 21 | virtual QStringList problemTypes(){return QStringList(OneSimulation::className());} 22 | virtual QStringList resultTypes(){return QStringList(OneSimResult::className());} 23 | QString name(){return OneSimulation::className();} 24 | virtual Problem* loadProblem(QFileInfo saveFile,const QDomElement & domOMCase,ProjectBase *); 25 | virtual Result* loadResult(QFileInfo saveFile,const QDomElement & domOMCase,ProjectBase*); 26 | }; 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /OMOptim/GUI/Widgets/widgetloadexemodel.h: -------------------------------------------------------------------------------- 1 | #ifndef WIDGETLOADEXEMODEL_H 2 | #define WIDGETLOADEXEMODEL_H 3 | 4 | // QT Headers 5 | #include 6 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 7 | #include 8 | #else 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #endif 16 | 17 | #include "Project.h" 18 | 19 | namespace Ui { 20 | class WidgetLoadExeModel; 21 | } 22 | 23 | class WidgetLoadExeModel : public QDialog 24 | { 25 | Q_OBJECT 26 | 27 | public: 28 | explicit WidgetLoadExeModel(Project *project, QWidget *parent); 29 | ~WidgetLoadExeModel(); 30 | QString name(); 31 | QFileInfo exeFileInfo(); 32 | QFileInfo inputFileInfo(); 33 | 34 | 35 | private: 36 | Ui::WidgetLoadExeModel *ui; 37 | Project* _project; 38 | //QList _ctrls; 39 | 40 | public slots: 41 | void openExe(); 42 | void openInput(); 43 | void validate(); 44 | 45 | 46 | }; 47 | 48 | #endif // WIDGETLOADEXEMODEL_H 49 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/mathsym/sym/token.h: -------------------------------------------------------------------------------- 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 | #ifndef TOKEN_H 18 | #define TOKEN_H 19 | 20 | 21 | typedef unsigned token_t; 22 | 23 | struct functor_t { 24 | token_t token; 25 | unsigned arity; 26 | }; 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/contrib/mathsym/fun/util.cpp: -------------------------------------------------------------------------------- 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 | #include 19 | #include 20 | 21 | using namespace std; 22 | 23 | double error(string errstr) { 24 | cerr << "ERROR: " << errstr << endl; 25 | exit(1); 26 | } 27 | 28 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/examples/flowshop/benchs/020_10_01.txt: -------------------------------------------------------------------------------- 1 | 20 2 | 10 3 | 587595453 4 | 0 5 | 1250 6 | 74 28 89 60 54 92 9 4 25 15 7 | 1 8 | 1371 9 | 21 3 52 88 66 11 8 18 15 84 10 | 2 11 | 637 12 | 58 27 56 26 12 54 88 25 91 8 13 | 3 14 | 616 15 | 4 61 13 58 57 97 72 28 49 30 16 | 4 17 | 917 18 | 21 34 7 76 70 57 27 95 56 95 19 | 5 20 | 937 21 | 28 76 32 98 82 53 22 51 10 79 22 | 6 23 | 1435 24 | 58 64 32 29 99 65 50 84 62 9 25 | 7 26 | 1197 27 | 83 87 98 47 84 77 2 18 70 91 28 | 8 29 | 1301 30 | 31 54 46 79 16 51 49 6 76 76 31 | 9 32 | 637 33 | 61 98 60 26 41 36 82 90 99 26 34 | 10 35 | 749 36 | 94 76 23 19 23 53 93 69 58 42 37 | 11 38 | 1223 39 | 44 41 87 48 11 19 96 61 83 66 40 | 12 41 | 887 42 | 97 70 7 95 68 54 43 57 84 70 43 | 13 44 | 1316 45 | 94 43 36 78 58 86 13 5 64 91 46 | 14 47 | 1330 48 | 66 42 26 77 30 40 60 75 74 67 49 | 15 50 | 1380 51 | 6 79 85 90 5 56 11 4 14 3 52 | 16 53 | 767 54 | 37 88 7 24 5 79 37 38 18 98 55 | 17 56 | 574 57 | 22 15 34 10 39 74 91 28 48 4 58 | 18 59 | 1398 60 | 99 49 36 85 58 24 84 4 96 71 61 | 19 62 | 1179 63 | 83 72 48 55 31 3 67 80 86 62 64 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/smp/tutorial/Lesson1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 1 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | lesson1_eoEasyEA 9 | ) 10 | 11 | ###################################################################################### 12 | ### 1) Create the lesson 13 | ###################################################################################### 14 | 15 | add_lesson(smp Lesson1 "${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 | 25 | 26 | execute_process( 27 | COMMAND ${CMAKE_COMMAND} -E copy_if_different 28 | ${CMAKE_CURRENT_SOURCE_DIR}/lesson1_data.dat 29 | ${CMAKE_CURRENT_BINARY_DIR}/lesson1_data.dat) 30 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/examples/flowshop/benchs/020_10_02.txt: -------------------------------------------------------------------------------- 1 | 20 2 | 10 3 | 1401007982 4 | 0 5 | 1279 6 | 80 59 59 31 30 53 93 90 65 64 7 | 1 8 | 1481 9 | 13 83 70 64 88 19 79 92 97 38 10 | 2 11 | 1157 12 | 64 85 76 11 14 99 88 35 27 44 13 | 3 14 | 1391 15 | 77 85 10 9 22 62 77 13 25 46 16 | 4 17 | 763 18 | 17 70 65 32 93 88 94 75 61 66 19 | 5 20 | 1456 21 | 78 35 19 58 48 93 39 55 24 31 22 | 6 23 | 900 24 | 82 2 77 98 10 34 74 80 97 48 25 | 7 26 | 1047 27 | 4 76 86 95 7 72 46 67 61 27 28 | 8 29 | 1355 30 | 72 46 21 25 14 42 17 3 75 82 31 | 9 32 | 1262 33 | 93 72 75 4 91 65 30 93 92 51 34 | 10 35 | 1329 36 | 68 69 96 45 5 39 62 54 73 90 37 | 11 38 | 562 39 | 25 46 3 60 43 79 77 67 21 63 40 | 12 41 | 684 42 | 67 3 50 87 30 9 43 25 29 85 43 | 13 44 | 567 45 | 80 57 57 31 79 26 98 77 3 36 46 | 14 47 | 765 48 | 43 71 66 1 39 72 48 38 96 69 49 | 15 50 | 808 51 | 93 77 84 96 34 29 14 98 51 67 52 | 16 53 | 999 54 | 21 33 98 22 77 36 45 96 26 81 55 | 17 56 | 548 57 | 33 49 55 95 81 48 25 20 44 18 58 | 18 59 | 577 60 | 14 59 70 73 11 57 98 15 56 81 61 | 19 62 | 704 63 | 30 82 32 77 10 95 30 36 31 72 64 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/pyeo/valueParam.h: -------------------------------------------------------------------------------- 1 | #ifndef VALUEPARAM_H 2 | #define VALUEPARAM_H 3 | 4 | #include 5 | #include 6 | 7 | class ValueParam : public eoParam // ValueParam containing python object 8 | { 9 | boost::python::object obj; 10 | 11 | public: 12 | 13 | ValueParam() : eoParam(), obj() {} 14 | 15 | ValueParam(boost::python::object o, 16 | std::string longName, 17 | std::string d = "No Description", 18 | char s = 0, 19 | bool r = false) : eoParam(longName, "", d, s, r) 20 | { 21 | std::cerr << "HI" << std::endl; 22 | obj = o; 23 | eoParam::defValue(getValue()); 24 | } 25 | 26 | std::string getValue() const 27 | { 28 | boost::python::str s = boost::python::str(obj); 29 | return std::string(boost::python::extract(s)); 30 | } 31 | 32 | void setValue(const std::string& v) 33 | { 34 | std::cerr << "not implemented yet" << std::endl; 35 | } 36 | 37 | boost::python::object getObj() const { return obj;} 38 | void setObj(boost::python::object o) { obj = o; } 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/mo/tutorial/Lesson6/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 6 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | adaptiveWalks 9 | autocorrelation 10 | densityOfStates 11 | fdc 12 | fitnessCloud 13 | neutralDegree 14 | neutralWalk 15 | sampling 16 | testMetropolisHasting 17 | testRandomNeutralWalk 18 | testRandomWalk 19 | ) 20 | 21 | ###################################################################################### 22 | ### 1) Create the lesson 23 | ###################################################################################### 24 | 25 | add_lesson(mo Lesson6 "${files}") 26 | 27 | ###################################################################################### 28 | ### 2) Include dependencies 29 | ###################################################################################### 30 | 31 | include_directories(${EO_SRC_DIR}/src 32 | ${MO_SRC_DIR}/src 33 | ${PROBLEMS_SRC_DIR}) 34 | -------------------------------------------------------------------------------- /OMOptim/Core/Optim/EA/SA1/myEOArchiveUpdater.h: -------------------------------------------------------------------------------- 1 | #ifndef MYEOARCHIVEUPDATER_H_ 2 | #define MYEOARCHIVEUPDATER_H_ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | /** 9 | * This class allows to update the archive at each generation with newly found non-dominated solutions. 10 | */ 11 | template < class MOEOT > 12 | class myEOArchiveUpdater : public eoUpdater 13 | { 14 | public: 15 | 16 | /** 17 | * Ctor 18 | * @param _arch an archive of non-dominated solutions 19 | * @param _sol the main solution 20 | */ 21 | myEOArchiveUpdater(moeoArchive < MOEOT > & _arch,MOEOT & _sol) : arch(_arch), sol(_sol) 22 | {} 23 | 24 | 25 | /** 26 | * Updates the archive with newly found non-dominated solutions contained in the main population 27 | */ 28 | void operator()() 29 | { 30 | arch(sol); 31 | } 32 | 33 | 34 | private: 35 | 36 | /** the archive of non-dominated solutions */ 37 | moeoArchive < MOEOT > & arch; 38 | /** the main solution */ 39 | const MOEOT & sol; 40 | 41 | }; 42 | 43 | #endif /*MOEOARCHIVEUPDATER_H_*/ 44 | -------------------------------------------------------------------------------- /OMOptim/Core/Tools/ModPlusOMExeCtrl.h: -------------------------------------------------------------------------------- 1 | #ifndef MODPLUSOMEXECTRL_H 2 | #define MODPLUSOMEXECTRL_H 3 | 4 | #include "ModPlusExeCtrl.h" 5 | 6 | class Project; 7 | class ModelPlus; 8 | class ModPlusCtrl; 9 | class QString; 10 | class QDir; 11 | 12 | 13 | 14 | class ModPlusOMExeCtrl: public ModPlusExeCtrl 15 | { 16 | public: 17 | ModPlusOMExeCtrl(Project* project,ModelPlus* model); 18 | ~ModPlusOMExeCtrl(void); 19 | 20 | ModPlusCtrl *clone(); 21 | 22 | 23 | QString name(); 24 | bool useMat(); 25 | QString resFile(); 26 | QString resMatFile(); 27 | QString resCsvFile(); 28 | ModPlusCtrl::Type type() const; 29 | 30 | virtual bool readInitialVariables(MOVector *, QFileInfoList filesToCopy,bool forcerecompile, QString initFile=""); 31 | 32 | bool simulate(QDir tempFolder, MOVector *inputVars, MOVector *outputVars, QFileInfoList filesToCopy, QFileInfoList moDependencies); 33 | bool start(QString exeFile,int maxnsec); 34 | bool readOutputVariables(MOVector *,QString resFile=""); 35 | 36 | bool setStopTime(double time); 37 | }; 38 | 39 | #endif // MODPLUSOMEXECTRL_H 40 | -------------------------------------------------------------------------------- /OMOptim/Core/Problems/optimizationinterface.h: -------------------------------------------------------------------------------- 1 | #ifndef OPTIMIZATIONINTERFACE_H 2 | #define OPTIMIZATIONINTERFACE_H 3 | 4 | #include "ProblemInterface.h" 5 | #include "Optimization.h" 6 | #include "OptimResult.h" 7 | 8 | 9 | class OptimizationInterface : public ProblemInterface 10 | { 11 | 12 | Problem* createNewProblem(ProjectBase*,const QStringList ,QString problemType) ; 13 | 14 | 15 | 16 | bool saveResult(Result*); 17 | 18 | QWidget* createProblemTab(Problem *,QWidget* parent); 19 | QWidget* createResultTab(Result *,QWidget* parent); 20 | 21 | ModelNeeds modelNeeds(QString){return SEVERALMODELS;} 22 | QStringList problemTypes(){return QStringList(Optimization::className());} 23 | QStringList resultTypes(){return QStringList(OptimResult::className());} 24 | QString name(){return Optimization::className();} 25 | 26 | virtual bool hasQuickEndOption(){return true;} 27 | 28 | virtual Problem* loadProblem(QFileInfo saveFile,const QDomElement & domOMCase,ProjectBase*); 29 | virtual Result* loadResult(QFileInfo saveFile,const QDomElement & domOMCase,ProjectBase*); 30 | 31 | }; 32 | 33 | #endif // OPTIMIZATIONINTERFACE_H 34 | -------------------------------------------------------------------------------- /OMOptim/GUI/Resources/OMOptim.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icons/Undo.png 4 | Mines.PNG 5 | icons/Search.png 6 | icons/Play.png 7 | icons/Refresh.png 8 | icons/Settings.png 9 | icons/Save.png 10 | icons/Synchronize.png 11 | icons/Globe.png 12 | icons/Folder.png 13 | icons/Delete.png 14 | icons/Add.png 15 | icons/type-icon.png 16 | icons/block-icon.png 17 | icons/class-icon.png 18 | icons/connector-icon.png 19 | icons/info-icon.png 20 | icons/model-icon.png 21 | icons/package-icon.png 22 | icons/record-icon.png 23 | icons/exe-icon.png 24 | 25 | 26 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/eo/src/pyeo/Makefile: -------------------------------------------------------------------------------- 1 | # Note for however is foolish enough to attempt to build this thing 2 | # 3 | # You need: 4 | # Python 2.2 5 | # Boost.Python v2 6 | # 7 | 8 | CXX = g++ 9 | CPPFLAGS = -Wall -O2 #-g #-O2 10 | LDFLAGS = 11 | COMPILE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c 12 | LINK = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) 13 | INC=-I/usr/include/python2.6 -I.. -I../.. -ftemplate-depth-50 14 | 15 | OBJECTS=eoFunctorStore.o PyEO.o abstract1.o algos.o \ 16 | random_numbers.o geneticOps.o selectOne.o continuators.o\ 17 | reduce.o replacement.o selectors.o breeders.o\ 18 | mergers.o valueParam.o perf2worth.o monitors.o\ 19 | statistics.o 20 | 21 | LIB=../libeo.a ../utils/libeoutils.a 22 | 23 | all: PyEO/PyEO.so 24 | 25 | clean: 26 | rm PyEO/*.so *.o test/*.pyc 27 | 28 | PyEO/PyEO.so: $(OBJECTS) 29 | $(LINK) -o PyEO/PyEO.so $(OBJECTS) -lboost_python -lpython2.6 ${LIB} -shared #-lstlport 30 | 31 | eoFunctorStore.o: ../eoFunctorStore.h ../eoFunctorStore.cpp 32 | $(COMPILE) -o eoFunctorStore.o ../eoFunctorStore.cpp $(INC) 33 | 34 | %.o:%.cpp PyEO.h def_abstract_functor.h 35 | $(COMPILE) $< $(INC) 36 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/moeo/tutorial/Lesson2/FlowShopEA.param: -------------------------------------------------------------------------------- 1 | 2 | ###### General ###### 3 | --help=0 # -h : Prints this message 4 | --stopOnUnknownParam=1 # Stop if unkown param entered 5 | # --seed=1203083493 # -S : Random number seed 6 | 7 | ###### Evolution Engine ###### 8 | --popSize=100 # -P : Population Size 9 | 10 | ###### Representation ###### 11 | --BenchmarkFile=../examples/flowshop/benchs/020_10_01.txt # -B : Benchmark file name REQUIRED 12 | 13 | ###### Stopping criterion ###### 14 | --maxGen=100 # -G : Maximum number of generations 15 | 16 | ###### Variation Operators ###### 17 | --crossRate=1 # Relative rate for the only crossover 18 | --shiftMutRate=0.5 # Relative rate for shift mutation 19 | --exchangeMutRate=0.5 # Relative rate for exchange mutation 20 | --pCross=0.25 # -c : Probability of Crossover 21 | --pMut=0.35 # -m : Probability of Mutation 22 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/mo/tutorial/Lesson1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Lesson 1 2 | 3 | ###################################################################################### 4 | ### 0) Define files 5 | ###################################################################################### 6 | 7 | set(files 8 | lesson1_simpleHC 9 | lesson1_firstImprHC 10 | lesson1_randomBestHC 11 | lesson1_neutralHC 12 | lesson1_iterContinuator 13 | lesson1_fitContinuator 14 | lesson1_fullEvalContinuator 15 | lesson1_evalContinuator 16 | lesson1_combinedContinuator 17 | firstImprHC_maxSAT 18 | ) 19 | 20 | ###################################################################################### 21 | ### 1) Create the lesson 22 | ###################################################################################### 23 | 24 | add_lesson(mo Lesson1 "${files}") 25 | 26 | ###################################################################################### 27 | ### 2) Include dependencies 28 | ###################################################################################### 29 | 30 | include_directories(${EO_SRC_DIR}/src 31 | ${MO_SRC_DIR}/src 32 | ${PROBLEMS_SRC_DIR}) 33 | 34 | -------------------------------------------------------------------------------- /ParadisEO-2.0.1/smp/src/MWAlgo/eoSyncEasyPSO.cpp: -------------------------------------------------------------------------------- 1 | template