All files in es directory was modified to use relative #includes

This commit is contained in:
Ronaldd Pinho 2019-06-29 21:21:17 -03:00
commit 98e74536b5
38 changed files with 167 additions and 168 deletions

View file

@ -43,8 +43,8 @@
* Version 2.23. * Version 2.23.
* */ * */
#include <es/CMAParams.h> #include "CMAParams.h"
#include <utils/eoParser.h> #include "../utils/eoParser.h"
#include <string> #include <string>

View file

@ -56,12 +56,11 @@
#include <iostream> #include <iostream>
#include <cassert> #include <cassert>
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include "CMAState.h"
#include <es/CMAState.h> #include "CMAParams.h"
#include <es/CMAParams.h> #include "matrices.h"
#include <es/matrices.h> #include "eig.h"
#include <es/eig.h>
using namespace std; using namespace std;

View file

@ -25,9 +25,9 @@
#ifndef _EOCMABREED_H #ifndef _EOCMABREED_H
#define _EOCMABREED_H #define _EOCMABREED_H
#include <eoBreed.h> #include "../eoBreed.h"
#include <eoVector.h> #include "../eoVector.h"
#include <es/CMAState.h> #include "CMAState.h"
#include <algorithm> #include <algorithm>

View file

@ -28,9 +28,9 @@
#ifndef _EOCMAINIT_H #ifndef _EOCMAINIT_H
#define _EOCMAINIT_H #define _EOCMAINIT_H
#include <eoInit.h> #include "../eoInit.h"
#include <eoVector.h> #include "../eoVector.h"
#include <es/CMAState.h> #include "CMAState.h"
/// @todo handle bounds /// @todo handle bounds
template <class FitT> template <class FitT>

View file

@ -29,10 +29,10 @@ Contact: http://eodev.sourceforge.net
#include <cmath> #include <cmath>
#include <vector> #include <vector>
#include <es/eoRealInitBounded.h> #include "eoRealInitBounded.h"
#include <es/eoEsSimple.h> #include "eoEsSimple.h"
#include <es/eoEsStdev.h> #include "eoEsStdev.h"
#include <es/eoEsFull.h> #include "eoEsFull.h"
#ifndef M_PI #ifndef M_PI
#define M_PI 3.1415926535897932384626433832795 #define M_PI 3.1415926535897932384626433832795

View file

@ -27,7 +27,7 @@
#ifndef _eoEsFull_h #ifndef _eoEsFull_h
#define _eoEsFull_h #define _eoEsFull_h
#include <eoVector.h> #include "../eoVector.h"
/** /**
\ingroup Real \ingroup Real

View file

@ -26,15 +26,15 @@
#ifndef _eoEsGlobalXover_H #ifndef _eoEsGlobalXover_H
#define _eoEsGlobalXover_H #define _eoEsGlobalXover_H
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <es/eoEsSimple.h> #include "eoEsSimple.h"
#include <es/eoEsStdev.h> #include "eoEsStdev.h"
#include <es/eoEsFull.h> #include "eoEsFull.h"
#include <eoGenOp.h> #include "../eoGenOp.h"
// needs a selector - here random // needs a selector - here random
#include <eoRandomSelect.h> #include "../eoRandomSelect.h"
/** Global crossover operator for ES genotypes. /** Global crossover operator for ES genotypes.
* Uses some Atom crossovers to handle both the object variables * Uses some Atom crossovers to handle both the object variables

View file

@ -30,14 +30,14 @@
#define _EOESMUTATE_H #define _EOESMUTATE_H
#include <cmath> #include <cmath>
#include <eoInit.h> #include "../eoInit.h"
#include <eoOp.h> #include "../eoOp.h"
#include <es/eoEsMutationInit.h> #include "eoEsMutationInit.h"
#include <es/eoEsSimple.h> #include "eoEsSimple.h"
#include <es/eoEsStdev.h> #include "eoEsStdev.h"
#include <es/eoEsFull.h> #include "eoEsFull.h"
#include <utils/eoRealBounds.h> #include "../utils/eoRealBounds.h"
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#ifndef M_PI #ifndef M_PI
#define M_PI 3.1415926535897932384626433832795 #define M_PI 3.1415926535897932384626433832795
@ -158,7 +158,7 @@ public:
Diploma Thesis, University of Dortmund, 1990. Diploma Thesis, University of Dortmund, 1990.
*/ */
virtual bool operator()( eoEsFull<FitT> & _eo ) virtual bool operator()( eoEsFull<FitT> & _eo )
// Code originally from Thomas Bäck // Code originally from Thomas B<EFBFBD>ck
{ {
// First: mutate standard deviations (as for eoEsStdev<FitT>). // First: mutate standard deviations (as for eoEsStdev<FitT>).
double global = TauGlb * rng.normal(); double global = TauGlb * rng.normal();
@ -268,7 +268,7 @@ public:
lower bound. The actual value used is somewhat arbitrary and the is no lower bound. The actual value used is somewhat arbitrary and the is no
theoretical reasoning known for it (Sep 2005). theoretical reasoning known for it (Sep 2005).
The code that we have in EO is a port from a C code that Thomas Bäck kindly The code that we have in EO is a port from a C code that Thomas B<EFBFBD>ck kindly
donated to the community some years ago. It has been modified by Marc donated to the community some years ago. It has been modified by Marc
Schoenauer for inclusion in EvolC, than by Maarten Keijzer into EO. The Schoenauer for inclusion in EvolC, than by Maarten Keijzer into EO. The
exact value was adjusted based on practice. exact value was adjusted based on practice.

View file

@ -27,7 +27,7 @@
#ifndef _eoEsMutationInit_h #ifndef _eoEsMutationInit_h
#define _eoEsMutationInit_h #define _eoEsMutationInit_h
#include <utils/eoParser.h> #include "../utils/eoParser.h"
/** Initialize Mutation operator /** Initialize Mutation operator

View file

@ -23,10 +23,10 @@ Contact: http://eodev.sourceforge.net
#ifndef _eoEsSimple_h #ifndef _eoEsSimple_h
#define _eoEsSimple_h #define _eoEsSimple_h
#include <EO.h> #include "../EO.h"
#include <vector> #include <vector>
#include <eoVector.h> #include "../eoVector.h"
/** Simple Evolution Strategy /** Simple Evolution Strategy

View file

@ -26,15 +26,15 @@
#ifndef _eoEsLocalXover_H #ifndef _eoEsLocalXover_H
#define _eoEsLocalXover_H #define _eoEsLocalXover_H
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <es/eoEsSimple.h> #include "eoEsSimple.h"
#include <es/eoEsStdev.h> #include "eoEsStdev.h"
#include <es/eoEsFull.h> #include "eoEsFull.h"
#include <eoGenOp.h> #include "../eoGenOp.h"
// needs a selector - here random // needs a selector - here random
#include <eoRandomSelect.h> #include "../eoRandomSelect.h"
/** Standard (i.e. eoBinOp) crossover operator for ES genotypes. /** Standard (i.e. eoBinOp) crossover operator for ES genotypes.
* Uses some Atom crossovers to handle both the object variables * Uses some Atom crossovers to handle both the object variables

View file

@ -23,7 +23,7 @@ Contact: http://eodev.sourceforge.net
#ifndef _eoEsStdev_h #ifndef _eoEsStdev_h
#define _eoEsStdev_h #define _eoEsStdev_h
#include <eoVector.h> #include "../eoVector.h"
/** Evolutionary Strategy with a standard deviation per parameter /** Evolutionary Strategy with a standard deviation per parameter

View file

@ -29,11 +29,11 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#include <algorithm> // swap_ranges #include <algorithm> // swap_ranges
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <utils/eoUpdatable.h> #include "../utils/eoUpdatable.h"
#include <eoEvalFunc.h> #include "../eoEvalFunc.h"
#include <es/eoReal.h> #include "eoReal.h"
#include <utils/eoRealBounds.h> #include "../utils/eoRealBounds.h"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
/** Simple normal mutation of a std::vector of real values. /** Simple normal mutation of a std::vector of real values.

View file

@ -29,7 +29,7 @@
#include <iostream> // std::ostream, std::istream #include <iostream> // std::ostream, std::istream
#include <string> // std::string #include <string> // std::string
#include <eoVector.h> #include "../eoVector.h"
/** eoReal: implementation of simple real-valued chromosome. /** eoReal: implementation of simple real-valued chromosome.
* based on eoVector class * based on eoVector class

View file

@ -31,9 +31,9 @@
#ifndef _eoRealAtomXover_H #ifndef _eoRealAtomXover_H
#define _eoRealAtomXover_H #define _eoRealAtomXover_H
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <eoOp.h> #include "../eoOp.h"
/** /**
Discrete crossover == exchange of values Discrete crossover == exchange of values

View file

@ -28,10 +28,10 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <eoInit.h> #include "../eoInit.h"
#include <es/eoReal.h> #include "eoReal.h"
#include <utils/eoRealVectorBounds.h> #include "../utils/eoRealVectorBounds.h"
/** Simple initialization for any EOT that derives from std::vector<double> /** Simple initialization for any EOT that derives from std::vector<double>
* uniformly in some bounds * uniformly in some bounds

View file

@ -29,9 +29,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#include <algorithm> // swap_ranges #include <algorithm> // swap_ranges
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <es/eoReal.h> #include "eoReal.h"
#include <utils/eoRealVectorBounds.h> #include "../utils/eoRealVectorBounds.h"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View file

@ -24,11 +24,11 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#include <algorithm> // swap_ranges #include <algorithm> // swap_ranges
#include <utils/eoParser.h> #include "../utils/eoParser.h"
#include <utils/eoRNG.h> #include "../utils/eoRNG.h"
#include <es/eoReal.h> #include "eoReal.h"
#include <utils/eoRealBounds.h> #include "../utils/eoRealBounds.h"
#include <utils/eoRealVectorBounds.h> #include "../utils/eoRealVectorBounds.h"

View file

@ -41,11 +41,11 @@
*/ */
// The templatized code // The templatized code
#include <do/make_algo_scalar.h> #include "../do/make_algo_scalar.h"
// the instanciating EOType(s) // the instanciating EOType(s)
#include <es/eoEsSimple.h> // one Sigma per individual #include "eoEsSimple.h" // one Sigma per individual
#include <es/eoEsStdev.h> // one sigmal per object variable #include "eoEsStdev.h" // one sigmal per object variable
#include <es/eoEsFull.h> // full correlation matrix per indi #include "eoEsFull.h" // full correlation matrix per indi
/// The following function merely call the templatized do_* functions above /// The following function merely call the templatized do_* functions above

View file

@ -41,9 +41,9 @@
*/ */
// The templatized code // The templatized code
#include <do/make_algo_scalar.h> #include "../do/make_algo_scalar.h"
// the instanciating EOType // the instanciating EOType
#include <es/eoReal.h> #include "eoReal.h"
/// The following function merely call the templatized do_* functions above /// The following function merely call the templatized do_* functions above

Some files were not shown because too many files have changed in this diff Show more