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/condition.h
[mareframe] / trunk / paramin-beta / condition.h Repository:
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef condition_h
2 :     #define condition_h
3 :    
4 :     #include "linesearch.h"
5 :     #include "paramin.h"
6 :    
7 :     class LineSearch;
8 :    
9 :     /**
10 :     * \class Condition
11 :     * \brief class condition is an abstract class containing only pure virtual functions except for the destructor
12 :     */
13 :    
14 :     class Condition {
15 :     public:
16 :     /**
17 :     * \brief default destructor
18 :     */
19 :     virtual ~Condition() {};
20 :     /**
21 :     * \brief Is the search criteria met?
22 :     */
23 :     virtual int computeCondition() = 0;
24 :     };
25 :    
26 :     /**
27 :     * \class LineSeekerCondition
28 :     * \brief class LineSeekerCondition can be used to compute a condition function belonging to class lineSeeker which must return an interger value 0 or 1
29 :     */
30 :    
31 :     class LineSeekerCondition : public Condition {
32 :     public:
33 :     LineSeekerCondition(LineSearch* lin);
34 :     virtual ~LineSeekerCondition() {};
35 :     int computeCondition();
36 :     private:
37 :     LineSearch* lines;
38 :     };
39 :    
40 :     #endif

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

Powered By FusionForge