changement a cause du deplacement des eval
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1760 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
d85d4c22b9
commit
5031737299
26 changed files with 44 additions and 37 deletions
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function, and evaluation of neighbors
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/eval/moOneMaxIncrEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ void main_function(int argc, char **argv)
|
|||
* ========================================================= */
|
||||
|
||||
// the fitness function is just the number of 1 in the bit string
|
||||
oneMaxFullEval<Indi> fullEval;
|
||||
oneMaxEval<Indi> fullEval;
|
||||
|
||||
/* =========================================================
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function, and evaluation of neighbors
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/eval/moOneMaxIncrEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
|
||||
|
|
@ -127,7 +127,7 @@ void main_function(int argc, char **argv)
|
|||
* ========================================================= */
|
||||
|
||||
// the fitness function is just the number of 1 in the bit string
|
||||
oneMaxFullEval<Indi> fullEval;
|
||||
oneMaxEval<Indi> fullEval;
|
||||
|
||||
/* =========================================================
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function, and evaluation of neighbors
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/eval/moOneMaxIncrEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ void main_function(int argc, char **argv)
|
|||
* ========================================================= */
|
||||
|
||||
// the fitness function is just the number of 1 in the bit string
|
||||
oneMaxFullEval<Indi> fullEval;
|
||||
oneMaxEval<Indi> fullEval;
|
||||
|
||||
/* =========================================================
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function, and evaluation of neighbors
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/eval/moOneMaxIncrEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ void main_function(int argc, char **argv)
|
|||
* ========================================================= */
|
||||
|
||||
// the fitness function is just the number of 1 in the bit string
|
||||
oneMaxFullEval<Indi> fullEval;
|
||||
oneMaxEval<Indi> fullEval;
|
||||
|
||||
/* =========================================================
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
#include <eoInit.h>
|
||||
|
||||
// fitness function
|
||||
#include <problems/eval/queenFullEval.h>
|
||||
#include <eval/queenEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
#include <eval/moFullEvalByCopy.h>
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ void main_function(int argc, char **argv)
|
|||
*
|
||||
* ========================================================= */
|
||||
|
||||
queenFullEval<Queen> fullEval;
|
||||
queenEval<Queen> fullEval;
|
||||
|
||||
|
||||
/* =========================================================
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
#include <eoScalarFitness.h>
|
||||
|
||||
// fitness function
|
||||
#include <problems/eval/queenFullEval.h>
|
||||
#include <eval/queenEval.h>
|
||||
#include <eval/moFullEvalByModif.h>
|
||||
#include <eval/moFullEvalByCopy.h>
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ void main_function(int argc, char **argv)
|
|||
*
|
||||
* ========================================================= */
|
||||
|
||||
queenFullEval<Queen> fullEval;
|
||||
queenEval<Queen> fullEval;
|
||||
|
||||
|
||||
/* =========================================================
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/bitString/moBitNeighbor.h>
|
||||
#include <eoInt.h>
|
||||
#include <neighborhood/moOrderNeighborhood.h>
|
||||
|
|
@ -100,7 +100,7 @@ void main_function(int argc, char **argv)
|
|||
*
|
||||
* ========================================================= */
|
||||
|
||||
oneMaxFullEval<Indi> fulleval;
|
||||
oneMaxEval<Indi> fulleval;
|
||||
|
||||
|
||||
/* =========================================================
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/bitString/moBitNeighbor.h>
|
||||
#include <eoInt.h>
|
||||
#include <neighborhood/moOrderNeighborhood.h>
|
||||
|
|
@ -112,7 +112,7 @@ void main_function(int argc, char **argv)
|
|||
*
|
||||
* ========================================================= */
|
||||
|
||||
oneMaxFullEval<Indi> eval;
|
||||
oneMaxEval<Indi> eval;
|
||||
|
||||
//FuncNK<Indi> eval(vecSize, 2);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src
|
||||
${MO_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
||||
|
||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/bitString/moBitNeighbor.h>
|
||||
#include <eoInt.h>
|
||||
#include <neighborhood/moRndWithReplNeighborhood.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ using namespace std;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fitness function
|
||||
#include <problems/eval/oneMaxFullEval.h>
|
||||
#include <eval/oneMaxEval.h>
|
||||
#include <problems/bitString/moBitNeighbor.h>
|
||||
#include <eoInt.h>
|
||||
#include <neighborhood/moRndWithReplNeighborhood.h>
|
||||
|
|
@ -108,7 +108,7 @@ void main_function(int argc, char **argv)
|
|||
*
|
||||
* ========================================================= */
|
||||
|
||||
oneMaxFullEval<Indi> eval;
|
||||
oneMaxEval<Indi> eval;
|
||||
|
||||
|
||||
/* =========================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue