ajout de terminate dans explorer
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1643 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
d4cc9eac8d
commit
958ab63d9c
3 changed files with 6 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ public:
|
|||
num++;
|
||||
} while (continuator(solution) && searchExplorer.isContinue(solution));
|
||||
|
||||
searchExplorer.terminate(solution);
|
||||
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ public:
|
|||
|
||||
virtual bool accept(EOT & solution) = 0 ;
|
||||
|
||||
virtual void terminate(EOT & solution) = 0 ;
|
||||
|
||||
/** Return the class id.
|
||||
* @return the class name as a std::string
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ public:
|
|||
|
||||
virtual void updateParam (EOT & solution) { } ;
|
||||
|
||||
virtual void terminate (EOT & solution) { } ;
|
||||
|
||||
virtual void operator() (EOT & solution) {
|
||||
|
||||
//est qu'on peut initializer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue