+ virtual void finish();//! Called when optimization has succeed.
+ virtual Any * getAlgoResult();
+
+ public:
+ // Proxy methods to encapsulate the call to real methods
+ virtual TypeCode *getTCForInProxy() const;
+ virtual TypeCode *getTCForOutProxy() const;
+ virtual TypeCode *getTCForAlgoInitProxy() const;
+ virtual TypeCode *getTCForAlgoResultProxy() const;
+ virtual void initializeProxy(const Any *input) ;
+ virtual void startProxy();
+ virtual void takeDecisionProxy();
+ virtual void finishProxy();
+ virtual Any * getAlgoResultProxy();
+
+ // Utility methods
+ virtual void setPool(Pool *pool);
+ virtual void setProc(Proc * proc);
+ virtual Proc * getProc();
+ virtual bool hasError() const;
+ virtual const std::string & getError() const;
+ virtual void setError(const std::string & message);
+ void setNbOfBranches(int nbOfBranches);
+ int getNbOfBranches() const;