//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifndef __bbstdFindOptimalParam_h_INCLUDED__ #define __bbstdFindOptimalParam_h_INCLUDED__ #include "bbstd_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" namespace bbstd { class bbstd_EXPORT FindOptimalParam : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(FindOptimalParam,bbtk::AtomicBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== BBTK_DECLARE_INPUT(InitStart,double); BBTK_DECLARE_INPUT(InitEnd,double); BBTK_DECLARE_INPUT(MinDifference,double); BBTK_DECLARE_INPUT(String,std::string); BBTK_DECLARE_INPUT(TransferFile,std::string); BBTK_DECLARE_OUTPUT(Result,double); BBTK_PROCESS(Process); void Process(); std::string Replace(std::string command, double value); int Evaluate( double value ); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(FindOptimalParam,bbtk::AtomicBlackBox); BBTK_NAME("FindOptimalParam"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(FindOptimalParam,InitStart,"Initial Start",double,""); BBTK_INPUT(FindOptimalParam,InitEnd,"(defalut 100) Initial End ",double,""); BBTK_INPUT(FindOptimalParam,MinDifference,"(default 1) Minimum (End-Start) to stop iteration ",double,""); BBTK_INPUT(FindOptimalParam,String,"String script evaluation (use 'XXvalueXX' to be optimice)",std::string,""); BBTK_INPUT(FindOptimalParam,TransferFile,"File to check the difference",std::string,""); BBTK_OUTPUT(FindOptimalParam,Result,"Find optimal parameter",double,""); BBTK_END_DESCRIBE_BLACK_BOX(FindOptimalParam); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== } // EO namespace bbstd #endif // __bbstdFindOptimalParam_h_INCLUDED__