remove old version of MOLS

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1490 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2009-03-10 15:09:55 +00:00
commit fb975379d7
56 changed files with 0 additions and 5060 deletions

View file

@ -1,56 +0,0 @@
###############################################################################
##
## CMakeLists file for ParadisEO-MOEO/test
##
###############################################################################
######################################################################################
### 1) Include the sources
######################################################################################
INCLUDE_DIRECTORIES(${PARADISEO_EO_SRC_DIR}/src)
INCLUDE_DIRECTORIES(${PARADISEO_MO_SRC_DIR}/src)
INCLUDE_DIRECTORIES(${PARADISEO_MOEO_SRC_DIR}/src)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${FLOWSHOP_SRC_DIR}/src)
INCLUDE_DIRECTORIES(${SOURCES_DIR}/src)
######################################################################################
######################################################################################
### 2) Specify where CMake can find the libraries
######################################################################################
LINK_DIRECTORIES(${PARADISEO_EO_BIN_DIR}/lib ${PARADISEO_MOEO_BIN_DIR}/lib ${FLOWSHOP_LIB_OUTPUT_PATH})
######################################################################################
######################################################################################
### 3) Define your targets and link the librairies
######################################################################################
SET (TEST_LIST
t-moeoUnifiedDominanceBasedLS
)
FOREACH (test ${TEST_LIST})
SET ("T_${test}_SOURCES" "${test}.cpp")
ENDFOREACH (test)
FOREACH (test ${TEST_LIST})
ADD_EXECUTABLE(${test} ${T_${test}_SOURCES})
ADD_TEST(${test} ${test})
ENDFOREACH (test)
# Link the librairies
FOREACH (test ${TEST_LIST})
TARGET_LINK_LIBRARIES(${test} moeo flowshop ga es eoutils eo)
ENDFOREACH (test)
######################################################################################

View file

@ -1,11 +0,0 @@
###### General ######
--help=0 # -h : Prints this message
--stopOnUnknownParam=1 # Stop if unkown param entered
# --seed=1203083493 # -S : Random number seed
###### Evolution Engine ######
--popSize=1000 # -P : Population Size
###### Representation ######
#--BenchmarkFile=../examples/flowshop/benchs/020_10_01.txt # -B : Benchmark file name REQUIRED

View file

@ -1,55 +0,0 @@
#include <eo>
#include <moeo>
#include <moeoPopNeighborhoodExplorer.h>
#include <moeoAllSolAllNeighborsExpl.h>
#include <moeoOneSolAllNeighborsExpl.h>
#include <moeoOneSolOneNeighborExpl.h>
#include <moeoAllSolOneNeighborExpl.h>
#include <moeoPopLS.h>
#include <moeoUnifiedDominanceBasedLS.h>
#include <moMove.h>
#include <FlowShop.h>
#include <exchange_move.h>
#include <exchange_move_init.h>
#include <exchange_move_next.h>
#include <FlowShopEval.h>
// for the creation of an evaluator
#include <make_eval_FlowShop.h>
// for the creation of an initializer
#include <make_genotype_FlowShop.h>
// for the creation of the variation operators
#include <make_op_FlowShop.h>
// how to initialize the population
#include <do/make_pop.h>
int main(int argc, char* argv[])
{
eoParser parser(argc, argv); // for user-parameter reading
eoState state; // to keep all things allocated
ExchangeMoveNext moveNext;
ExchangeMoveInit moveInit;
ExchangeMove move;
eoEvalFuncCounter<FlowShop>& eval = do_make_eval(parser, state);
eoInit<FlowShop>& init = do_make_genotype(parser, state);
// population
eoPop<FlowShop>& pop = do_make_pop(parser, state, init);
eoTimeContinue < FlowShop > continuator(10000000);
moeoAllSolOneNeighborExpl < ExchangeMove > explorer(moveInit,moveNext, eval);
//
moeoUnifiedDominanceBasedLS < ExchangeMove > algo(continuator, explorer);
for (unsigned int i=0; i<pop.size(); i++)
eval(pop[i]);
std::cout << "Initial Population\n";
pop.sortedPrintOn(std::cout);
std::cout << std::endl;
//
algo(pop);
std::cout << "OK c'est bon" << std::endl;
return EXIT_SUCCESS;
}