Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/paramin-beta/paraminsimann.h
[mareframe] / trunk / paramin-beta / paraminsimann.h Repository:
ViewVC logotype

Annotation of /trunk/paramin-beta/paraminsimann.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef paraminsimann_h
2 :     #define paraminsimann_h
3 :    
4 :     #include "paraminsearch.h"
5 :     class ParaminSimann : public ParaminSearch {
6 :     private:
7 :     /**
8 :     * \brief starting values for the variables of the function
9 :     */
10 :     DoubleVector xstart;
11 :     /**
12 :     * \brief the function value at xstart..
13 :     */
14 :     double fstart;
15 :     /**
16 :     * \brief the variable vector returned each time.
17 :     */
18 :     DoubleVector xp;
19 :     /**
20 :     * \brief the function value returned each time.
21 :     */
22 :     double fp;
23 :     DoubleVector fstar;
24 :     double cs;
25 :     double uratio;
26 :     double lratio;
27 :     /**
28 :     * \brief the step length vector.
29 :     */
30 :     DoubleVector vm;
31 :     DoubleVector initialVM;
32 :     double T;
33 :     /**
34 :     * \brief number of iterations before temperature reduction.
35 :     */
36 :     int nt;
37 :     int check;
38 :     int ns;
39 :     double eps;
40 :     double rt;
41 :     /**
42 :     * \brief 1 = maximization, 0 = minimization.
43 :     */
44 :     int maxim;
45 :     /**
46 :     * \brief acpPointID[0..numvar], acpPointID[i] = -1 if point with trial parameter x[i] was not accepted else acpPointID[i] = returnID of the value which gives the accepted point.
47 :     */
48 :     IntVector acpPointID;
49 :     //int* acpPointID;
50 :     /**
51 :     * \brief number of accepted points for each parameter
52 :     */
53 :     // int* nacp;
54 :     IntVector nacp;
55 :     /**
56 :     * \brief total number of function evaluations.
57 :     */
58 :     // int nfcnev;
59 :     /**
60 :     * \brief denotes in what order the points were sent
61 :     */
62 :     // int *ID;
63 :     IntVector ID;
64 :     int returnID;
65 :     /**
66 :     * \brief number of hosts available.
67 :     */
68 :     int NumberOfHosts;
69 :     /**
70 :     * \brief the number of accepted function evaluations accepted in (ns*numvar) number of function evaluations.
71 :     */
72 :     int naccepted_nsloop;
73 :    
74 :     public:
75 :     ParaminSimann(NetInterface* netInt);
76 :     virtual ~ParaminSimann();
77 :     void read(CommentStream& infile, char* text);
78 :     // void doSearch(const DoubleVector& startx, double startf);
79 :     void OptimiseLikelihood();
80 :     void SetXP(int k);
81 :     void AcceptPoint();
82 :     void UpdateVM();
83 :     void ReceiveValue();
84 :     void Print(ofstream& outfile, int prec);
85 :    
86 :     };
87 :    
88 :     #endif

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge