20 #ifndef __OPTIMIZERALG_HXX__
21 #define __OPTIMIZERALG_HXX__
60 virtual TypeCode *getTCForAlgoInit()
const;
62 virtual TypeCode *getTCForAlgoResult()
const;
63 virtual void initialize(
const Any *input) ;
68 virtual void finish();
69 virtual Any * getAlgoResult();
73 virtual TypeCode *getTCForInProxy()
const;
74 virtual TypeCode *getTCForOutProxy()
const;
75 virtual TypeCode *getTCForAlgoInitProxy()
const;
76 virtual TypeCode *getTCForAlgoResultProxy()
const;
77 virtual void initializeProxy(
const Any *input) ;
78 virtual void startProxy();
79 virtual void takeDecisionProxy();
80 virtual void finishProxy();
81 virtual Any * getAlgoResultProxy();
84 virtual void setPool(
Pool *pool);
85 virtual void setProc(
Proc * proc);
86 virtual Proc * getProc();
87 virtual bool hasError()
const;
88 virtual const std::string & getError()
const;
89 virtual void setError(
const std::string & message);
90 void setNbOfBranches(
int nbOfBranches);
91 int getNbOfBranches()
const;
106 virtual void finishProxy();
109 virtual void start();
110 virtual void takeDecision();
#define YACSLIBENGINE_EXPORT
: Interface for management of storage of data formated dynamically in its TypeCode....
Base class to implement in external dynamic lib in case of optimizer non event oriented.
virtual void startToTakeDecision()=0
Base class factorizing common methods for all algorithms interfaces.
virtual void takeDecision()=0
Update _pool attribute before performing anything.
virtual TypeCode * getTCForIn() const =0
returns typecode of type expected as Input. OwnerShip of returned pointer is held by this.
virtual TypeCode * getTCForOut() const =0
returns typecode of type expected as Output. OwnerShip of returned pointer is held by this.
std::string _errorMessage
Pool used to manage the samples of the optimizer loop plugin.
Base class for all schema objects.
Base class for all type objects.
OptimizerAlgBase OptimizerAlgSync