Update the explorer and the algo of TS to get the best so far solution
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1949 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
1e730f2646
commit
da555f2095
2 changed files with 128 additions and 118 deletions
|
|
@ -143,6 +143,9 @@ public:
|
||||||
explorer(_neighborhood, _eval, _neighborComp, _solNeighborComp, _tabuList, _intensification, _diversification, _aspiration)
|
explorer(_neighborhood, _eval, _neighborComp, _solNeighborComp, _tabuList, _intensification, _diversification, _aspiration)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
moTSexplorer<Neighbor>& getExplorer() {
|
||||||
|
return explorer;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
moTimeContinuator<Neighbor> timeCont;
|
moTimeContinuator<Neighbor> timeCont;
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,13 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Give the current best found so far
|
||||||
|
* @return the best solution so far
|
||||||
|
*/
|
||||||
|
const EOT& getBest() {
|
||||||
|
return bestSoFar;
|
||||||
|
};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue