nettoyage des #include

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1659 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2010-01-20 13:42:53 +00:00
commit 278c0e70ab
8 changed files with 15 additions and 40 deletions

View file

@ -31,12 +31,3 @@ public:
};
#endif
// Local Variables:
// coding: iso-8859-1
// mode: C++
// c-file-offsets: ((c . 0))
// c-file-style: "Stroustrup"
// fill-column: 80
// End:

View file

@ -4,7 +4,6 @@
#include <eoEvalFunc.h>
#include <eval/moEval.h>
/**
* Evaluation by copy
*/

View file

@ -6,6 +6,7 @@
#include <neighborhood/moNeighborhood.h>
#include <eval/moEval.h>
#include <comparator/moNeighborComparator.h>
/**
* Explore the neighborhood

View file

@ -1,6 +1,8 @@
#ifndef _BackableNeighbor_h
#define _BackableNeighbor_h
#include <neighborhood/moNeighbor.h>
/**
* Neighbor with a move back function to use in a moFullEvalByModif
*/

View file

@ -4,7 +4,6 @@
#include <ga/eoBit.h>
#include <neighborhood/moBackableNeighbor.h>
/*
contener of the neighbor information
*/

View file

@ -42,8 +42,6 @@
#include <eoObject.h>
#include <eoPersistent.h>
#include <comparator/moNeighborComparator.h>
/**
* Container of the neighbor informations
*/

View file

@ -3,7 +3,6 @@
#include <eoObject.h>
/**
* A Neighborhood
*/

View file

@ -24,37 +24,23 @@ using namespace std;
//-----------------------------------------------------------------------------
// fitness function
#include <funcOneMax.h>
#include <eoInt.h>
#include <neighborhood/moEmptyNeighbor.h>
#include <continuator/moTrueContinuator.h>
// local search algorithm
#include <algo/moLocalSearch.h>
// the simple HC explorer
#include <explorer/moSimpleHCexplorer.h>
// explore the neighborhood of a bit string in order
#include <neighborhood/moBitNeighborhood.h>
#include <oneMaxBitNeighbor.h>
#include <eval/moFullEvalByModif.h>
#include <eval/moFullEvalByCopy.h>
#include <oneMaxBitNeighbor.h>
#include <comparator/moNeighborComparator.h>
#include <continuator/moTrueContinuator.h>
#include <algo/moLocalSearch.h>
#include <explorer/moSimpleHCexplorer.h>
// REPRESENTATION
//-----------------------------------------------------------------------------
// define your individuals
typedef eoBit<unsigned> Indi;
//typedef OneMaxBitNeighbor<unsigned> Neighbor ; // incremental evaluation
//typedef moFullEvalBitNeighbor<unsigned> Neighbor ; // full evaluation
//typedef moBitNeighborhood<Neighbor> Neighborhood ;
typedef moBitNeighbor<unsigned int> Neighbor ; // incremental evaluation
typedef moBitNeighborhood<Neighbor> Neighborhood ;
// GENERAL
//-----------------------------------------------------------------------------
@ -125,7 +111,7 @@ void main_function(int argc, char **argv)
FuncOneMax<Indi> eval(vecSize);
moFullEvalByCopy<moBitNeighbor<unsigned int> > fulleval(eval);
moFullEvalByCopy<Neighbor > fulleval(eval);
/* =========================================================
*
@ -152,9 +138,9 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
moNeighborComparator<moBitNeighbor<unsigned int> > comparator;
moNeighborComparator<Neighbor > comparator;
moBitNeighborhood<moBitNeighbor<unsigned int> > neighborhood ;
Neighborhood neighborhood ;
/* =========================================================
*
@ -162,7 +148,7 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
moSimpleHCexplorer<moBitNeighborhood<moBitNeighbor<unsigned int> > > explorer(neighborhood, fulleval, comparator);
moSimpleHCexplorer<Neighborhood> explorer(neighborhood, fulleval, comparator);
/* =========================================================
*
@ -170,9 +156,9 @@ void main_function(int argc, char **argv)
*
* ========================================================= */
moTrueContinuator<moBitNeighborhood<moBitNeighbor<unsigned int> > > continuator;
moTrueContinuator<Neighborhood> continuator;
moLocalSearch< moSimpleHCexplorer<moBitNeighborhood<moBitNeighbor<unsigned int> > >, moTrueContinuator<moBitNeighborhood<moBitNeighbor<unsigned int> > > > localSearch(explorer, continuator);
moLocalSearch< moSimpleHCexplorer<Neighborhood>, moTrueContinuator<Neighborhood> > localSearch(explorer, continuator);
/* =========================================================
*