From 49d0894edbfaeeeaea9ee0d9249d074efea61a01 Mon Sep 17 00:00:00 2001 From: verel Date: Tue, 6 Dec 2011 14:26:53 +0000 Subject: [PATCH] Add a getter of neighborhoodExplorer in moLocalSearch git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2547 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-mo/src/algo/moLocalSearch.h | 10 ++++++++++ .../src/neighborhood/moOrderNeighborhood.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/trunk/paradiseo-mo/src/algo/moLocalSearch.h b/trunk/paradiseo-mo/src/algo/moLocalSearch.h index 99afabef8..bf77a8f3f 100644 --- a/trunk/paradiseo-mo/src/algo/moLocalSearch.h +++ b/trunk/paradiseo-mo/src/algo/moLocalSearch.h @@ -121,6 +121,16 @@ public: return cont; } + /** + * to get the neighborhood explorer + * + * @overload + * @return the neighborhood explorer + */ + moNeighborhoodExplorer & getNeighborhoodExplorer() const { + return searchExplorer; + } + protected: // make the exploration of the neighborhood according to a local search heuristic moNeighborhoodExplorer& searchExplorer; diff --git a/trunk/paradiseo-mo/src/neighborhood/moOrderNeighborhood.h b/trunk/paradiseo-mo/src/neighborhood/moOrderNeighborhood.h index 8b5e556e6..7561d143b 100644 --- a/trunk/paradiseo-mo/src/neighborhood/moOrderNeighborhood.h +++ b/trunk/paradiseo-mo/src/neighborhood/moOrderNeighborhood.h @@ -2,7 +2,7 @@ Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 - Sébastien Verel, Arnaud Liefooghe, Jérémie Humeau + Sebastien Verel, Arnaud Liefooghe, Jeremie Humeau This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software. You can use,