All header files in utils/ directory refactored to use relative includes

This commit is contained in:
Ronaldd Pinho 2019-06-29 20:19:20 -03:00
commit 536bfff096
43 changed files with 88 additions and 87 deletions

View file

@ -33,8 +33,8 @@
#ifndef _eoAssembledFitnessStat_h #ifndef _eoAssembledFitnessStat_h
#define _eoAssembledFitnessStat_h #define _eoAssembledFitnessStat_h
#include <utils/eoStat.h> #include "eoStat.h"
#include <eoScalarFitnessAssembled.h> #include "../eoScalarFitnessAssembled.h"
/** @addtogroup Stats /** @addtogroup Stats
* @{ * @{

View file

@ -27,10 +27,10 @@
#ifndef _eoCheckPoint_h #ifndef _eoCheckPoint_h
#define _eoCheckPoint_h #define _eoCheckPoint_h
#include <eoContinue.h> #include "..eoContinue.h"
#include <utils/eoUpdater.h> #include "eoUpdater.h"
#include <utils/eoMonitor.h> #include "eoMonitor.h"
#include <utils/eoStat.h> #include "eoStat.h"
/** @defgroup Checkpoints Checkpointing /** @defgroup Checkpoints Checkpointing
* *

View file

@ -26,7 +26,7 @@
#ifndef _eoDistance_H #ifndef _eoDistance_H
#define _eoDistance_H #define _eoDistance_H
#include <eoFunctor.h> #include "../eoFunctor.h"
/** @addtogroup Stats /** @addtogroup Stats
* @{ * @{

View file

@ -27,9 +27,9 @@
#ifndef _eoFDCStat_h #ifndef _eoFDCStat_h
#define _eoFDCStat_h #define _eoFDCStat_h
#include <utils/eoStat.h> #include "eoStat.h"
#include <utils/eoDistance.h> #include "eoDistance.h"
#include <utils/eoFileSnapshot.h> #include "eoFileSnapshot.h"
/** /**
The Fitness Distance Correlation computation. The Fitness Distance Correlation computation.

View file

@ -7,9 +7,9 @@
#include <fstream> #include <fstream>
#include <stdexcept> #include <stdexcept>
#include <utils/eoFileMonitor.h> #include "eoFileMonitor.h"
#include <utils/compatibility.h> #include "compatibility.h"
#include <utils/eoParam.h> #include "eoParam.h"
using namespace std; using namespace std;

View file

@ -31,8 +31,8 @@
#include <fstream> #include <fstream>
#include <stdexcept> #include <stdexcept>
#include "utils/eoMonitor.h" #include "eoMonitor.h"
#include "eoObject.h" #include "../eoObject.h"
/** Prints statistics to file /** Prints statistics to file

View file

@ -29,9 +29,9 @@
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <utils/eoParam.h> #include "eoParam.h"
#include <utils/eoMonitor.h> #include "eoMonitor.h"
#include <eoObject.h> #include "../eoObject.h"
/** /**

View file

@ -1,8 +1,8 @@
#ifndef eoFuncPtrStat_h #ifndef eoFuncPtrStat_h
#define eoFuncPtrStat_h #define eoFuncPtrStat_h
#include <eoFunctorStore.h> #include "../eoFunctorStore.h"
#include <utils/eoStat.h> #include "eoStat.h"

View file

@ -22,7 +22,7 @@
#define _eoGenCounter_h #define _eoGenCounter_h
#include <string> #include <string>
#include <utils/eoStat.h> #include "eoStat.h"
/** /**
An eoStat that simply gives the current generation index An eoStat that simply gives the current generation index

View file

@ -29,8 +29,8 @@
#include <sstream> #include <sstream>
#include "utils/eoGnuplot1DMonitor.h" #include "eoGnuplot1DMonitor.h"
#include "utils/eoParam.h" #include "eoParam.h"
eoMonitor& eoGnuplot1DMonitor::operator() (void) eoMonitor& eoGnuplot1DMonitor::operator() (void)

View file

@ -27,10 +27,10 @@
#include <fstream> #include <fstream>
#include <string> #include <string>
#include "eoObject.h" #include "../eoObject.h"
#include "utils/eoFileMonitor.h" #include "eoFileMonitor.h"
#include "utils/eoGnuplot.h" #include "eoGnuplot.h"
#include "utils/pipecom.h" #include "pipecom.h"
/** Plot eoStat /** Plot eoStat

View file

@ -32,11 +32,11 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <eoObject.h> #include "../eoObject.h"
#include "eoRealVectorBounds.h" #include "eoRealVectorBounds.h"
#include <utils/pipecom.h> #include "pipecom.h"
#include <utils/eoFileSnapshot.h> #include "eoFileSnapshot.h"
#include <utils/eoGnuplot.h> #include "eoGnuplot.h"
/** Plot stats through gnuplot /** Plot stats through gnuplot

View file

@ -31,7 +31,7 @@ Contact: http://eodev.sourceforge.net
#include <sstream> #include <sstream>
#include <utils/eoLogger.h> #include "eoLogger.h"
/** A helper class, to determine a number of individuals from another one /** A helper class, to determine a number of individuals from another one

View file

@ -28,7 +28,7 @@
#define _eoIntBounds_h #define _eoIntBounds_h
#include <stdexcept> // std::exceptions! #include <stdexcept> // std::exceptions!
#include <utils/eoRNG.h> #include "eoRNG.h"
/** /**
\class eoIntBounds eoIntBounds.h es/eoIntBounds.h \class eoIntBounds eoIntBounds.h es/eoIntBounds.h

View file

@ -92,7 +92,7 @@ Caner Candan <caner.candan@thalesgroup.com>
#include <string> #include <string>
#include <iosfwd> #include <iosfwd>
#include "eoObject.h" #include "../eoObject.h"
#include "eoParser.h" #include "eoParser.h"
namespace eo namespace eo

View file

@ -27,7 +27,7 @@
#ifndef _eoFitnessStat_h #ifndef _eoFitnessStat_h
#define _eoFitnessStat_h #define _eoFitnessStat_h
#include <utils/eoStat.h> #include "eoStat.h"
/** /**
The fitnesses of a whole population, as a vector The fitnesses of a whole population, as a vector

View file

@ -27,7 +27,7 @@
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include <eoFunctor.h> #include "../eoFunctor.h"
/** @defgroup Monitors Monitoring /** @defgroup Monitors Monitoring
* *

View file

@ -9,10 +9,10 @@
#include <iomanip> #include <iomanip>
#include <ios> #include <ios>
#include <utils/eoOStreamMonitor.h> #include "eoOStreamMonitor.h"
#include <utils/compatibility.h> #include "compatibility.h"
#include <utils/eoParam.h> #include "eoParam.h"
#include <eoLogger.h> #include "eoLogger.h"
//using namespace std; //using namespace std;

View file

@ -30,9 +30,9 @@ Authors:
#include <string> #include <string>
#include <iostream> #include <iostream>
#include <utils/eoMonitor.h> #include "eoMonitor.h"
#include <utils/eoLogger.h> #include "eoLogger.h"
#include <eoObject.h> #include "../eoObject.h"
/** /**
Prints statistics to a given ostream. Prints statistics to a given ostream.

View file

@ -31,7 +31,7 @@ Authors:
#ifndef eoParallel_h #ifndef eoParallel_h
#define eoParallel_h #define eoParallel_h
#include "eoObject.h" #include "../eoObject.h"
#include "eoParser.h" #include "eoParser.h"
/** /**

View file

@ -33,7 +33,7 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <vector> #include <vector>
#include <eoScalarFitness.h> #include "../eoScalarFitness.h"
/** @defgroup Parameters Parameters management /** @defgroup Parameters Parameters management
* *

View file

@ -37,9 +37,9 @@ Authors:
#include <iomanip> #include <iomanip>
#include <cctype> #include <cctype>
#include <utils/compatibility.h> #include "compatibility.h"
#include <utils/eoParser.h> #include "eoParser.h"
#include <utils/eoLogger.h> #include "eoLogger.h"
using namespace std; using namespace std;

View file

@ -30,9 +30,9 @@ Authors:
#include <string> #include <string>
#include "eoParam.h" #include "eoParam.h"
#include "eoObject.h" #include "../eoObject.h"
#include "eoPersistent.h" #include "../eoPersistent.h"
#include "eoExceptions.h" #include "../eoExceptions.h"
/** Parameter saving and loading /** Parameter saving and loading

View file

@ -35,7 +35,7 @@ that can be used to dump to the screen
#ifndef _eoPopStat_h #ifndef _eoPopStat_h
#define _eoPopStat_h #define _eoPopStat_h
#include <utils/eoStat.h> #include "eoStat.h"
/** Thanks to MS/VC++, eoParam mechanism is unable to handle std::vectors of stats. /** Thanks to MS/VC++, eoParam mechanism is unable to handle std::vectors of stats.

View file

@ -50,8 +50,9 @@ typedef unsigned long uint32_t;
#include <cmath> #include <cmath>
#include <vector> #include <vector>
#include "eoPersistent.h" // Relative includes
#include "eoObject.h" #include "../eoPersistent.h"
#include "../eoObject.h"
/** Random Number Generator /** Random Number Generator

View file

@ -31,7 +31,7 @@
#include <sstream> #include <sstream>
#include <stdexcept> // std::exceptions! #include <stdexcept> // std::exceptions!
#include <utils/eoRNG.h> #include "eoRNG.h"
#include "eoLogger.h" #include "eoLogger.h"
/** /**

View file

@ -28,8 +28,8 @@
#define _eoRealVectorBounds_h #define _eoRealVectorBounds_h
#include <stdexcept> // std::exceptions! #include <stdexcept> // std::exceptions!
#include <utils/eoRNG.h> #include "eoRNG.h"
#include <utils/eoRealBounds.h> #include "eoRealBounds.h"
/** /**
Vector type for bounds (see eoRealBounds.h for scalar types) Vector type for bounds (see eoRealBounds.h for scalar types)

View file

@ -30,7 +30,7 @@
#define eoRndGenerators_h #define eoRndGenerators_h
#include "eoRNG.h" #include "eoRNG.h"
#include <eoFunctor.h> #include "../eoFunctor.h"
#include <stdexcept> #include <stdexcept>
/** @defgroup Random Random number generation /** @defgroup Random Random number generation

View file

@ -27,8 +27,8 @@
#ifndef _eoScalarFitnessStat_h #ifndef _eoScalarFitnessStat_h
#define _eoScalarFitnessStat_h #define _eoScalarFitnessStat_h
#include <utils/eoRealVectorBounds.h> #include "eoRealVectorBounds.h"
#include <utils/eoStat.h> #include "eoStat.h"
/** /**
The fitnesses of a whole population, as a std::vector The fitnesses of a whole population, as a std::vector

View file

@ -23,7 +23,7 @@
Caner.Candan@univ-angers.fr Caner.Candan@univ-angers.fr
*/ */
#include <utils/eoSignal.h> #include "eoSignal.h"
/** /**
* @addtogroup Continuators * @addtogroup Continuators

View file

@ -27,8 +27,8 @@
#define _eoSignal_h #define _eoSignal_h
#include <csignal> #include <csignal>
#include <utils/eoCheckPoint.h> #include "eoCheckPoint.h"
#include <utils/eoLogger.h> #include "eoLogger.h"
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -35,12 +35,12 @@ Contact: http://eodev.sourceforge.net
#include <iostream> #include <iostream>
#include <numeric> // accumulate #include <numeric> // accumulate
#include <eoFunctor.h> #include "../eoFunctor.h"
#include <utils/eoParam.h> #include "eoParam.h"
#include <eoPop.h> #include "../eoPop.h"
#include <utils/eoMonitor.h> #include "eoMonitor.h"
//#include <utils/eoCheckPoint.h> //#include "eoCheckPoint.h"
#include <utils/eoLogger.h> #include "eoLogger.h"
/** @defgroup Stats Statistics computation /** @defgroup Stats Statistics computation
* *

View file

@ -11,8 +11,8 @@
#include <sstream> #include <sstream>
#include "eoState.h" #include "eoState.h"
#include "eoObject.h" #include "../eoObject.h"
#include "eoPersistent.h" #include "../eoPersistent.h"
using namespace std; using namespace std;

View file

@ -33,7 +33,7 @@
#include <vector> #include <vector>
#include <assert.h> #include <assert.h>
#include <eoFunctorStore.h> #include "../eoFunctorStore.h"
class eoObject; class eoObject;
class eoPersistent; class eoPersistent;

View file

@ -32,8 +32,8 @@ Authors:
#include <string> #include <string>
#include <utils/eoOStreamMonitor.h> #include "eoOStreamMonitor.h"
#include <eoObject.h> #include "../eoObject.h"
/** /**
Prints statistics to stdout Prints statistics to stdout

View file

@ -30,8 +30,8 @@
#include <ctime> #include <ctime>
#include <string> #include <string>
#include <utils/eoMonitor.h> #include "eoMonitor.h"
#include <eoObject.h> #include "../eoObject.h"
/** /**
Holds a collection of monitors and only fires them when a time limit Holds a collection of monitors and only fires them when a time limit

View file

@ -28,9 +28,9 @@ Authors:
# include <vector> // std::vector # include <vector> // std::vector
# include <map> // std::map # include <map> // std::map
# include "utils/eoParallel.h" // eo::parallel # include "eoParallel.h" // eo::parallel
# include "serial/eoSerial.h" // eo::Persistent # include "../serial/eoSerial.h" // eo::Persistent
/** /**
* @brief Timer allowing to measure time between a start point and a stop point. * @brief Timer allowing to measure time between a start point and a stop point.

View file

@ -39,7 +39,7 @@
#define eoUniformInit_h #define eoUniformInit_h
#include "eoRNG.h" #include "eoRNG.h"
#include "eoInit.h" #include "../eoInit.h"
#include "eoRealBounds.h" #include "eoRealBounds.h"
#include <stdexcept> #include <stdexcept>

View file

@ -27,7 +27,7 @@
#ifndef _eoUpdatable_h #ifndef _eoUpdatable_h
#define _eoUpdatable_h #define _eoUpdatable_h
#include <utils/eoUpdater.h> #include "eoUpdater.h"
/** /**
eoUpdatable is a generic class for adding updatation to an existing class eoUpdatable is a generic class for adding updatation to an existing class

View file

@ -8,8 +8,8 @@
#include <sstream> #include <sstream>
#include <utils/eoState.h> #include "eoState.h"
#include <utils/eoUpdater.h> #include "eoUpdater.h"
using namespace std; using namespace std;

View file

@ -28,9 +28,9 @@
#define _eoUpdater_h #define _eoUpdater_h
#include <string> #include <string>
#include <eoFunctor.h> #include "../eoFunctor.h"
#include <utils/eoState.h> #include "eoState.h"
#include <utils/eoParam.h> #include "eoParam.h"
template <class EOT> class eoCheckPoint; template <class EOT> class eoCheckPoint;

View file

@ -30,7 +30,7 @@
#include <fstream> #include <fstream>
#include <stdexcept> #include <stdexcept>
#include <utils/eoParser.h> #include "eoParser.h"
using namespace std; using namespace std;

View file

@ -41,7 +41,7 @@
#include <stdexcept> #include <stdexcept>
#include "eoRNG.h" #include "eoRNG.h"
#include <eoPop.h> #include "../eoPop.h"
/** /**
@addtogroup Selectors @addtogroup Selectors
@{ @{