deleted wrong stuff :-(((
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@641 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
a220c2c6f5
commit
24a78d4d7d
10 changed files with 0 additions and 375 deletions
|
|
@ -1 +0,0 @@
|
||||||
secretword=Nothing
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
Source Code:
|
|
||||||
Sebastien CAHON
|
|
||||||
Jean-Charles BOISSON : Jean-Charles.Boisson@lifl.fr
|
|
||||||
|
|
||||||
Lessons:
|
|
||||||
Sebastien CAHON
|
|
||||||
|
|
||||||
Documentation:
|
|
||||||
Jean-Charles BOISSON : Jean-Charles.Boisson@lifl.fr
|
|
||||||
|
|
@ -1,138 +0,0 @@
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 0) If you want to set your own variables in mo-conf.cmake and avoid the cmd line
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
INCLUDE(mo-conf.cmake OPTIONAL)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 1) Project properties
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
# set the project name
|
|
||||||
PROJECT(ParadisEO-MO)
|
|
||||||
|
|
||||||
SET(PACKAGE_BUGREPORT "paradiseo-help@lists.gforge.inria.fr" CACHE STRING "Package bug report" FORCE)
|
|
||||||
SET(PACKAGE_NAME "ParadisEO-MO Moving Objects" CACHE STRING "Package name" FORCE)
|
|
||||||
SET(PACKAGE_STRING "ParadisEO-MO 1.0" CACHE STRING "Package string full name" FORCE)
|
|
||||||
SET(PACKAGE_VERSION "1.0" CACHE STRING "Package version" FORCE)
|
|
||||||
SET(GLOBAL_VERSION "1.0" CACHE STRING "Global version" FORCE)
|
|
||||||
SET(VERSION "1.0" CACHE STRING "Version" FORCE)
|
|
||||||
|
|
||||||
# check cmake version compatibility
|
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4 FATAL_ERROR)
|
|
||||||
|
|
||||||
# regular expression checking
|
|
||||||
INCLUDE_REGULAR_EXPRESSION("^.*$" "^$")
|
|
||||||
|
|
||||||
# set a language for the entire project.
|
|
||||||
ENABLE_LANGUAGE(CXX)
|
|
||||||
ENABLE_LANGUAGE(C)
|
|
||||||
|
|
||||||
#####################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################
|
|
||||||
### 2) Include required modules
|
|
||||||
#####################################################################################
|
|
||||||
|
|
||||||
INCLUDE(CMakeBackwardCompatibilityCXX)
|
|
||||||
|
|
||||||
INCLUDE(FindDoxygen)
|
|
||||||
|
|
||||||
INCLUDE(FindGnuplot)
|
|
||||||
|
|
||||||
# check for some functions
|
|
||||||
INCLUDE(CheckLibraryExists)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 3) Include the main configuration variables
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
# The "config" variable must be provided on the command line
|
|
||||||
IF(NOT DEFINED config OR NOT config)
|
|
||||||
MESSAGE(FATAL_ERROR "The \"config\" variable must be set on the command line to
|
|
||||||
give the path of the install configuration file. ")
|
|
||||||
ENDIF(NOT DEFINED config OR NOT config)
|
|
||||||
|
|
||||||
# Need the config file whose full path is given thanks to the "config" variable
|
|
||||||
INCLUDE(${config})
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 4) Paths checking
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
IF(WIN32)
|
|
||||||
SET (ABSOLUTE_PATH_REGEX "^[A-Z]:|^[a-z]:")
|
|
||||||
ELSE(WIN32)
|
|
||||||
SET (ABSOLUTE_PATH_REGEX "^/")
|
|
||||||
ENDIF(WIN32)
|
|
||||||
|
|
||||||
SET(REQUIRED_PATHS "EO_SRC_DIR" "EO_BIN_DIR")
|
|
||||||
FOREACH (path ${REQUIRED_PATHS})
|
|
||||||
IF(EXISTS ${${path}})
|
|
||||||
MESSAGE (STATUS "Using ${path}=${${path}}")
|
|
||||||
ELSE(EXISTS ${${path}})
|
|
||||||
MESSAGE (FATAL_ERROR "\n Cannot find \"${${path}}\". Please, fill \"${config}\" with a correct value")
|
|
||||||
ENDIF(EXISTS ${${path}})
|
|
||||||
|
|
||||||
IF(NOT ${${path}} MATCHES "${ABSOLUTE_PATH_REGEX}")
|
|
||||||
MESSAGE (FATAL_ERROR "${${path}} MUST BE an absolute path")
|
|
||||||
ENDIF(NOT ${${path}} MATCHES "${ABSOLUTE_PATH_REGEX}")
|
|
||||||
ENDFOREACH (path ${REQUIRED_PATHS})
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################
|
|
||||||
### 5) Manage the build type
|
|
||||||
#####################################################################################
|
|
||||||
|
|
||||||
# the user should choose the build type on windows environments,excepted under cygwin (default=none)
|
|
||||||
SET(CMAKE_DEFAULT_BUILD_TYPE Debug CACHE STRING "Variable that stores the default CMake build type" FORCE)
|
|
||||||
|
|
||||||
IF(WIN32 AND NOT CYGWIN)
|
|
||||||
IF(NOT CMAKE_BUILD_TYPE)
|
|
||||||
SET( CMAKE_BUILD_TYPE
|
|
||||||
${CMAKE_DEFAULT_BUILD_TYPE} CACHE STRING
|
|
||||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
|
|
||||||
FORCE)
|
|
||||||
ENDIF(NOT CMAKE_BUILD_TYPE)
|
|
||||||
MESSAGE(STATUS "")
|
|
||||||
MESSAGE(STATUS "Warning: The type of build is: ${CMAKE_BUILD_TYPE}.")
|
|
||||||
MESSAGE(STATUS "The available types are: None Debug Release RelWithDebInfo MinSizeRel.")
|
|
||||||
MESSAGE(STATUS "You can choose it with: cmake <path-to-source> -D<build-type>")
|
|
||||||
MESSAGE(STATUS "")
|
|
||||||
ENDIF(WIN32 AND NOT CYGWIN)
|
|
||||||
|
|
||||||
#####################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 6) Where must cmake go now ?
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
SUBDIRS(doc test tutorial)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 7) Test config
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
#SET(ENABLE_CMAKE_TESTING TRUE CACHE BOOL "Should we test using Dart")
|
|
||||||
|
|
||||||
IF (ENABLE_CMAKE_TESTING)
|
|
||||||
ENABLE_TESTING()
|
|
||||||
ENDIF (ENABLE_CMAKE_TESTING)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
@ -1,76 +0,0 @@
|
||||||
PARADISEO-MO README FILE
|
|
||||||
=======================================================================
|
|
||||||
|
|
||||||
=======================================================================
|
|
||||||
|
|
||||||
Welcome to PARADISEO-MO (Moving Objects), one part of the ParadisEO framework.
|
|
||||||
|
|
||||||
=======================================================================
|
|
||||||
BUILDING PARADISEO-MO
|
|
||||||
=======================================================================
|
|
||||||
The basic installation procedure goes the following:
|
|
||||||
|
|
||||||
To compile paradiseo-mo in the default directory,
|
|
||||||
go to paradiseo-mo/build/ and run:
|
|
||||||
> cmake ../ -Dconfig=<path to the install.cmake file>
|
|
||||||
> make
|
|
||||||
// for an easy-use of the provided lessons
|
|
||||||
> make install
|
|
||||||
// optional (if the documentation is not already available)
|
|
||||||
> make doc
|
|
||||||
|
|
||||||
To compile paradiseo-mo anywhere else, simply run:
|
|
||||||
> cmake $(MO) -Dconfig=<path to the install.cmake file>
|
|
||||||
> make
|
|
||||||
// for an easy-use of the provided lessons
|
|
||||||
> make install
|
|
||||||
// optional (if the documentation is not already available)
|
|
||||||
> make doc
|
|
||||||
|
|
||||||
where $(MO) is the top-level directory of PARADISEO-MO.
|
|
||||||
|
|
||||||
To clean everything, simply run
|
|
||||||
> make clean
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
DIRECTORY STRUCTURE
|
|
||||||
======================================================================
|
|
||||||
After unpacking the archive file, you should end up with the following
|
|
||||||
structure:
|
|
||||||
|
|
||||||
.../ The MAIN PARADISEO-MO directory, created when unpacking.
|
|
||||||
|
|
|
||||||
+-- build Repertory where the executables will be produced.
|
|
||||||
|
|
|
||||||
|
|
|
||||||
+-- src SOURCE directory contains most PARADISEO-MO .h files.
|
|
||||||
|
|
|
||||||
|
|
|
||||||
+-- doc DOCUMENTATION directory (generated by Doxygen).
|
|
||||||
| |
|
|
||||||
| +- html HTML files - start at index.html.
|
|
||||||
| |
|
|
||||||
| +- latex latex files - use to generate Postcript doc.
|
|
||||||
| |
|
|
||||||
| +- man Unix man format documentation.
|
|
||||||
|
|
|
||||||
|
|
|
||||||
+-- tutorial TUTORIAL with lessons
|
|
||||||
|
|
|
||||||
+- examples APPLICATIONS - one directory per separate application.
|
|
||||||
| |
|
|
||||||
| +- tsp traveling salesman problem (TSP) example sources.
|
|
||||||
| |
|
|
||||||
| +- benchs TSP instance files.
|
|
||||||
|
|
|
||||||
+- Lesson1 How make a Hill Climbing on the TSP example (source file and lesson_1.pdf).
|
|
||||||
|
|
|
||||||
+- Lesson2 How make a Tabu Search on the TSP example (source file and lesson_2.pdf).
|
|
||||||
|
|
|
||||||
+- Lesson3 How make a Simulated Annealing on the TSP example (source file and lesson_3.pdf).
|
|
||||||
|
|
||||||
===================================================================
|
|
||||||
NOTES
|
|
||||||
===================================================================
|
|
||||||
|
|
||||||
Mailing list : paradiseo-help@lists.gforge.inria.fr
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
##########################################################################################################################################
|
|
||||||
### ParadisEO Install Configuration
|
|
||||||
### The path to the modules EO and MO must be specified above.
|
|
||||||
##########################################################################################################################################
|
|
||||||
|
|
||||||
SET(EO_SRC_DIR "${CMAKE_SOURCE_DIR}/../paradiseo-eo" CACHE PATH "ParadisEO-EO source directory" FORCE)
|
|
||||||
SET(EO_BIN_DIR "${CMAKE_BINARY_DIR}/../../paradiseo-eo/build" CACHE PATH "ParadisEO-EO binary directory" FORCE)
|
|
||||||
|
|
||||||
SET(MO_SRC_DIR "${CMAKE_SOURCE_DIR}/../paradiseo-mo" CACHE PATH "ParadisMO-MO source directory" FORCE)
|
|
||||||
SET(MO_BIN_DIR "${CMAKE_BINARY_DIR}/../../paradiseo-mo/build" CACHE PATH "ParadisMO-MO binary directory" FORCE)
|
|
||||||
|
|
||||||
###########################################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
######################################################################################
|
|
||||||
### In this file, you can specify many CMake variables used to build paradisEO-MO.
|
|
||||||
######################################################################################
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 1) OPTIONNAL
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
# SET (MYVAR MYVALUE)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################
|
|
||||||
### 2) OPTIONNAL - Overwrite subdirs
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
# SUBDIRS(doc tutorial)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
@ -1,87 +0,0 @@
|
||||||
###############################################################################
|
|
||||||
##
|
|
||||||
## CMakeLists file for ParadisEO-MO/test
|
|
||||||
##
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 1) Include the sources
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src)
|
|
||||||
INCLUDE_DIRECTORIES(${ParadisEO-MO_SOURCE_DIR}/src)
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 2) Specify where CMake can find the libraries
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
IF(NOT WIN32 OR CYGWIN)
|
|
||||||
LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${ParadisEO-MO_BINARY_DIR}/lib)
|
|
||||||
ENDIF(NOT WIN32 OR CYGWIN)
|
|
||||||
|
|
||||||
# especially for Visual Studio
|
|
||||||
IF(WIN32 AND NOT CYGWIN)
|
|
||||||
LINK_DIRECTORIES(${EO_BIN_DIR}\\lib\\${CMAKE_BUILD_TYPE}
|
|
||||||
${ParadisEO-MO_BINARY_DIR}\\lib\\${CMAKE_BUILD_TYPE}
|
|
||||||
)
|
|
||||||
ENDIF(WIN32 AND NOT CYGWIN)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 3) Define your targets and link the librairies
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
SET (TEST_LIST t-mo)
|
|
||||||
|
|
||||||
FOREACH (test ${TEST_LIST})
|
|
||||||
SET ("T_${test}_SOURCES" "${test}.cpp")
|
|
||||||
ENDFOREACH (test)
|
|
||||||
|
|
||||||
|
|
||||||
IF(ENABLE_CMAKE_TESTING)
|
|
||||||
|
|
||||||
# Add the tests
|
|
||||||
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} ga es eoutils eo)
|
|
||||||
ENDFOREACH (test)
|
|
||||||
|
|
||||||
ENDIF(ENABLE_CMAKE_TESTING)
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################################
|
|
||||||
### 5) Windows advanced config - especially for Microsoft Visual Studio 8
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
IF(CMAKE_CXX_COMPILER MATCHES cl)
|
|
||||||
IF(NOT WITH_SHARED_LIBS)
|
|
||||||
IF(CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005")
|
|
||||||
SET(CMAKE_CXX_FLAGS "/nologo /W3 /Gy")
|
|
||||||
SET(CMAKE_CXX_FLAGS_DEBUG "/MTd /Z7 /Od")
|
|
||||||
SET(CMAKE_CXX_FLAGS_RELEASE "/MT /O2")
|
|
||||||
SET(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O2")
|
|
||||||
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MTd /Z7 /Od")
|
|
||||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:CONSOLE")
|
|
||||||
|
|
||||||
ENDIF(CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005")
|
|
||||||
ENDIF(NOT WITH_SHARED_LIBS)
|
|
||||||
ENDIF(CMAKE_CXX_COMPILER MATCHES cl)
|
|
||||||
######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
// t-mo.cpp
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include <eo> // EO
|
|
||||||
#include <mo.h> // MO
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
typedef EO<float> Chrom;
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
Chrom chrom1, chrom2;
|
|
||||||
|
|
||||||
std::cout << "chrom1 = " << chrom1 << std::endl
|
|
||||||
<< "chrom2 = " << chrom2 << std::endl;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue