2 // 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)
4 #ifndef __bbstdFindOptimalParam_h_INCLUDED__
5 #define __bbstdFindOptimalParam_h_INCLUDED__
7 #include "bbstd_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
14 class bbstd_EXPORT FindOptimalParam
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(FindOptimalParam,bbtk::AtomicBlackBox);
20 // 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)
22 BBTK_DECLARE_INPUT(InitStart,double);
23 BBTK_DECLARE_INPUT(InitEnd,double);
24 BBTK_DECLARE_INPUT(MinDifference,double);
25 BBTK_DECLARE_INPUT(String,std::string);
26 BBTK_DECLARE_INPUT(TransferFile,std::string);
27 BBTK_DECLARE_OUTPUT(Result,double);
28 BBTK_PROCESS(Process);
31 std::string Replace(std::string command, double value);
32 int Evaluate( double value );
36 // 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)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(FindOptimalParam,bbtk::AtomicBlackBox);
41 BBTK_NAME("FindOptimalParam");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("No Description.");
44 BBTK_CATEGORY("empty");
46 BBTK_INPUT(FindOptimalParam,InitStart,"Initial Start",double,"");
47 BBTK_INPUT(FindOptimalParam,InitEnd,"(defalut 100) Initial End ",double,"");
48 BBTK_INPUT(FindOptimalParam,MinDifference,"(default 1) Minimum (End-Start) to stop iteration ",double,"");
49 BBTK_INPUT(FindOptimalParam,String,"String script evaluation (use 'XXvalueXX' to be optimice)",std::string,"");
50 BBTK_INPUT(FindOptimalParam,TransferFile,"File to check the difference",std::string,"");
52 BBTK_OUTPUT(FindOptimalParam,Result,"Find optimal parameter",double,"");
55 BBTK_END_DESCRIBE_BLACK_BOX(FindOptimalParam);
57 // 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)
62 #endif // __bbstdFindOptimalParam_h_INCLUDED__