Avancement de la doc
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1654 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
31c6fe9888
commit
6a72d70f23
20 changed files with 487 additions and 1530 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <neighborhood/moNeighborhood.h>
|
||||
|
||||
/*
|
||||
/**
|
||||
* Explore the neighborhood
|
||||
*/
|
||||
template< class NH >
|
||||
|
|
@ -17,52 +17,52 @@ public:
|
|||
typedef typename Neighborhood::EOT EOT ;
|
||||
typedef typename Neighborhood::Neighbor Neighbor ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Constructor with a Neighborhood and evaluation function
|
||||
* @param _neighborhood the neighborhood
|
||||
* @param _eval the evaluation function
|
||||
*/
|
||||
moNeighborhoodExplorer(Neighborhood& _neighborhood, moEval<Neighbor>& _eval):neighborhood(_neighborhood), eval(_eval) {}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Init Search parameters
|
||||
* @param _solution the solution to explore
|
||||
*/
|
||||
virtual void initParam (EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Update Search parameters
|
||||
* @param _solution the solution to explore
|
||||
*/
|
||||
virtual void updateParam (EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Test if the exploration continue or not
|
||||
* @param _solution the solution to explore
|
||||
* @return true if the exploration continue, else return false
|
||||
*/
|
||||
virtual bool isContinue(EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Move a solution
|
||||
* @param _solution the solution to explore
|
||||
*/
|
||||
virtual void move(EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Test if a solution is accepted
|
||||
* @param _solution the solution to explore
|
||||
* @return true if the solution is accepted, else return false
|
||||
*/
|
||||
virtual bool accept(EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Terminate the search
|
||||
* @param _solution the solution to explore
|
||||
*/
|
||||
virtual void terminate(EOT& _solution) = 0 ;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Return the class id.
|
||||
* @return the class name as a std::string
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue