Last change
on this file since 98 was
98,
checked in by Peter, 19 years ago
|
tScore added
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
606 bytes
|
Line | |
---|
1 | // $Id: Score.h 98 2004-06-10 15:24:05Z peter $ |
---|
2 | |
---|
3 | #ifndef _theplu_cpptools_score_ |
---|
4 | #define _theplu_cpptools_score_ |
---|
5 | |
---|
6 | #include "vector.h" |
---|
7 | |
---|
8 | namespace theplu { |
---|
9 | namespace cpptools { |
---|
10 | |
---|
11 | /// |
---|
12 | ///Virtual Class calculating a score and the corresponding p-value. |
---|
13 | /// |
---|
14 | class Score |
---|
15 | { |
---|
16 | |
---|
17 | public: |
---|
18 | /// |
---|
19 | /// Constructor |
---|
20 | /// |
---|
21 | Score(void) {}; |
---|
22 | |
---|
23 | |
---|
24 | /// |
---|
25 | /// Destructor |
---|
26 | /// |
---|
27 | virtual ~Score(void) {}; |
---|
28 | |
---|
29 | virtual double score() = 0; |
---|
30 | |
---|
31 | virtual double p_value() = 0; |
---|
32 | |
---|
33 | private: |
---|
34 | gslapi::vector data_; |
---|
35 | gslapi::vector target_; |
---|
36 | |
---|
37 | }; // class Score |
---|
38 | |
---|
39 | }} // of namespace cpptools and namespace theplu |
---|
40 | |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.