Add a getter of neighborhoodExplorer in moLocalSearch

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2547 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
verel 2011-12-06 14:26:53 +00:00
commit 49d0894edb
2 changed files with 11 additions and 1 deletions

View file

@ -121,6 +121,16 @@ public:
return cont;
}
/**
* to get the neighborhood explorer
*
* @overload
* @return the neighborhood explorer
*/
moNeighborhoodExplorer<Neighbor> & getNeighborhoodExplorer() const {
return searchExplorer;
}
protected:
// make the exploration of the neighborhood according to a local search heuristic
moNeighborhoodExplorer<Neighbor>& searchExplorer;