Files in directory do/ refactored to relative #include's usage
This commit is contained in:
parent
b11c5fbb4c
commit
281a61b39e
9 changed files with 65 additions and 65 deletions
|
|
@ -27,35 +27,35 @@
|
|||
#ifndef _make_algo_easea_h
|
||||
#define _make_algo_easea_h
|
||||
|
||||
#include <utils/eoData.h> // for eo_is_a_rate
|
||||
#include "../utils/eoData.h" // for eo_is_a_rate
|
||||
// everything tha's needed for the algorithms - SCALAR fitness
|
||||
|
||||
// Selection
|
||||
// the eoSelectOne's
|
||||
#include <eoRandomSelect.h>
|
||||
#include <eoSequentialSelect.h>
|
||||
#include <eoDetTournamentSelect.h>
|
||||
#include <eoProportionalSelect.h>
|
||||
#include <eoFitnessScalingSelect.h>
|
||||
#include <eoRankingSelect.h>
|
||||
#include <eoStochTournamentSelect.h>
|
||||
#include "../eoRandomSelect.h"
|
||||
#include "../eoSequentialSelect.h"
|
||||
#include "../eoDetTournamentSelect.h"
|
||||
#include "../eoProportionalSelect.h"
|
||||
#include "../eoFitnessScalingSelect.h"
|
||||
#include "../eoRankingSelect.h"
|
||||
#include "../eoStochTournamentSelect.h"
|
||||
// #include <eoSelect.h> included in all others
|
||||
|
||||
// Breeders
|
||||
#include <eoGeneralBreeder.h>
|
||||
#include "../eoGeneralBreeder.h"
|
||||
|
||||
// Replacement
|
||||
#include "make_general_replacement.h"
|
||||
#include "eoMGGReplacement.h"
|
||||
#include "eoG3Replacement.h"
|
||||
#include "../eoMGGReplacement.h"
|
||||
#include "../eoG3Replacement.h"
|
||||
|
||||
|
||||
// Algorithm (only this one needed)
|
||||
#include <eoEasyEA.h>
|
||||
#include "../eoEasyEA.h"
|
||||
|
||||
// also need the parser and param includes
|
||||
#include <utils/eoParser.h>
|
||||
#include <utils/eoState.h>
|
||||
#include "../utils/eoParser.h"
|
||||
#include "../utils/eoState.h"
|
||||
|
||||
/*
|
||||
* This function builds the algorithm (i.e. selection and replacement)
|
||||
|
|
|
|||
|
|
@ -27,39 +27,39 @@
|
|||
#ifndef _make_algo_scalar_h
|
||||
#define _make_algo_scalar_h
|
||||
|
||||
#include <utils/eoData.h> // for eo_is_a_rate
|
||||
#include "../utils/eoData.h" // for eo_is_a_rate
|
||||
// everything tha's needed for the algorithms - SCALAR fitness
|
||||
|
||||
// Selection
|
||||
// the eoSelectOne's
|
||||
#include <eoRandomSelect.h>
|
||||
#include <eoSequentialSelect.h>
|
||||
#include <eoDetTournamentSelect.h>
|
||||
#include <eoProportionalSelect.h>
|
||||
#include <eoFitnessScalingSelect.h>
|
||||
#include <eoRankingSelect.h>
|
||||
#include <eoStochTournamentSelect.h>
|
||||
#include <eoSharingSelect.h>
|
||||
#include <utils/eoDistance.h>
|
||||
#include "../eoRandomSelect.h"
|
||||
#include "../eoSequentialSelect.h"
|
||||
#include "../eoDetTournamentSelect.h"
|
||||
#include "../eoProportionalSelect.h"
|
||||
#include "../eoFitnessScalingSelect.h"
|
||||
#include "../eoRankingSelect.h"
|
||||
#include "../eoStochTournamentSelect.h"
|
||||
#include "../eoSharingSelect.h"
|
||||
#include "../utils/eoDistance.h"
|
||||
|
||||
// Breeders
|
||||
#include <eoGeneralBreeder.h>
|
||||
#include "../eoGeneralBreeder.h"
|
||||
|
||||
// Replacement
|
||||
// #include <eoReplacement.h>
|
||||
#include <eoMergeReduce.h>
|
||||
#include <eoReduceMerge.h>
|
||||
#include <eoSurviveAndDie.h>
|
||||
#include "../eoMergeReduce.h"
|
||||
#include "../eoReduceMerge.h"
|
||||
#include "../eoSurviveAndDie.h"
|
||||
|
||||
// distance
|
||||
#include <utils/eoDistance.h>
|
||||
#include "../utils/eoDistance.h"
|
||||
|
||||
// Algorithm (only this one needed)
|
||||
#include <eoEasyEA.h>
|
||||
#include "../eoEasyEA.h"
|
||||
|
||||
// also need the parser and param includes
|
||||
#include <utils/eoParser.h>
|
||||
#include <utils/eoState.h>
|
||||
#include "../utils/eoParser.h"
|
||||
#include "../utils/eoState.h"
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@
|
|||
|
||||
#include <climits>
|
||||
|
||||
#include <eoScalarFitness.h>
|
||||
#include <utils/selectors.h> // for minimizing_fitness()
|
||||
#include <EO.h>
|
||||
#include <eoEvalFuncCounter.h>
|
||||
#include <utils/checkpointing>
|
||||
#include "../eoScalarFitness.h"
|
||||
#include "../utils/selectors.h" // for minimizing_fitness()
|
||||
#include "../EO.h"
|
||||
#include "../eoEvalFuncCounter.h"
|
||||
#include "../utils/checkpointing"
|
||||
|
||||
// at the moment, in utils/make_help.cpp
|
||||
// this should become some eoUtils.cpp with corresponding eoUtils.h
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
|
||||
#include <climits>
|
||||
|
||||
#include <eoScalarFitness.h>
|
||||
#include <utils/selectors.h> // for minimizing_fitness()
|
||||
#include <EO.h>
|
||||
#include <eoEvalFuncCounter.h>
|
||||
#include <utils/checkpointing>
|
||||
#include "../eoScalarFitness.h"
|
||||
#include "../utils/selectors.h" // for minimizing_fitness()
|
||||
#include "../EO.h"
|
||||
#include "../eoEvalFuncCounter.h"
|
||||
#include "../utils/checkpointing"
|
||||
|
||||
// at the moment, in utils/make_help.cpp
|
||||
// this should become some eoUtils.cpp with corresponding eoUtils.h
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include <eoScalarFitnessAssembled.h>
|
||||
#include <utils/selectors.h>
|
||||
#include <EO.h>
|
||||
#include <eoEvalFuncCounter.h>
|
||||
#include <utils/checkpointing>
|
||||
#include "../eoScalarFitnessAssembled.h"
|
||||
#include "../utils/selectors.h"
|
||||
#include "../EO.h"
|
||||
#include "../eoEvalFuncCounter.h"
|
||||
#include "../utils/checkpointing"
|
||||
|
||||
// at the moment, in utils/make_help.cpp
|
||||
// this should become some eoUtils.cpp with corresponding eoUtils.h
|
||||
|
|
|
|||
|
|
@ -34,18 +34,18 @@ It can then be instantiated, and compiled on its own for a given EOType
|
|||
*/
|
||||
|
||||
// Continuators - all include eoContinue.h
|
||||
#include <eoCombinedContinue.h>
|
||||
#include <eoGenContinue.h>
|
||||
#include <eoSteadyFitContinue.h>
|
||||
#include <eoEvalContinue.h>
|
||||
#include <eoFitContinue.h>
|
||||
#include "../eoCombinedContinue.h"
|
||||
#include "../eoGenContinue.h"
|
||||
#include "../eoSteadyFitContinue.h"
|
||||
#include "../eoEvalContinue.h"
|
||||
#include "../eoFitContinue.h"
|
||||
#ifndef _MSC_VER
|
||||
#include <eoCtrlCContinue.h> // CtrlC handling (using 2 global variables!)
|
||||
#include "../eoCtrlCContinue.h" // CtrlC handling (using 2 global variables!)
|
||||
#endif
|
||||
|
||||
// also need the parser and param includes
|
||||
#include <utils/eoParser.h>
|
||||
#include <utils/eoState.h>
|
||||
#include "../utils/eoParser.h"
|
||||
#include "../utils/eoState.h"
|
||||
|
||||
|
||||
/////////////////// the stopping criterion ////////////////
|
||||
|
|
|
|||
|
|
@ -27,14 +27,14 @@
|
|||
#ifndef _make_general_replacement_h
|
||||
#define _make_general_replacement_h
|
||||
|
||||
#include <utils/eoData.h> // for eo_is_a_rate
|
||||
#include "../utils/eoData.h" // for eo_is_a_rate
|
||||
|
||||
// Replacement
|
||||
#include <eoReduceMergeReduce.h>
|
||||
#include "../eoReduceMergeReduce.h"
|
||||
|
||||
// also need the parser and param includes
|
||||
#include <utils/eoParser.h>
|
||||
#include <utils/eoState.h>
|
||||
#include "../utils/eoParser.h"
|
||||
#include "../utils/eoState.h"
|
||||
|
||||
|
||||
/** a helper function that decodes a parameter read by the parser into an
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@
|
|||
#define _make_pop_h
|
||||
|
||||
#include <ctime> // for time(0) for random seeding
|
||||
#include <eoPop.h>
|
||||
#include <eoInit.h>
|
||||
#include <utils/eoRNG.h>
|
||||
#include <utils/eoParser.h>
|
||||
#include <utils/eoState.h>
|
||||
#include "../eoPop.h"
|
||||
#include "../eoInit.h"
|
||||
#include "../utils/eoRNG.h"
|
||||
#include "../utils/eoParser.h"
|
||||
#include "../utils/eoState.h"
|
||||
|
||||
/** @defgroup Builders Automatic builders
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#define _make_run_h
|
||||
|
||||
// Algorithm (only this one needed)
|
||||
#include <eoAlgo.h>
|
||||
#include "../eoAlgo.h"
|
||||
|
||||
/*
|
||||
* A trivial function - only here to allow instanciation with a give EOType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue