bpp-core3  3.0.0
StatTest.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_NUMERIC_STAT_STATTEST_H
6 #define BPP_NUMERIC_STAT_STATTEST_H
7 
8 
9 #include "../../Clonable.h"
10 
11 // From the STL:
12 #include <string>
13 
14 namespace bpp
15 {
21 class StatTest :
22  public virtual Clonable
23 {
24 public:
25  StatTest() {}
26  virtual ~StatTest() {}
27 
28 public:
29  virtual std::string getName() const = 0;
30  virtual double getStatistic() const = 0;
31  virtual double getPValue() const = 0;
32 };
33 } // end of namespace bpp;
34 #endif // BPP_NUMERIC_STAT_STATTEST_H
virtual double getPValue() const =0
virtual ~StatTest()
Definition: StatTest.h:26
Interface for statistical test results.
Definition: StatTest.h:21
The Clonable interface (allow an object to be cloned).
Definition: Clonable.h:63
virtual std::string getName() const =0
virtual double getStatistic() const =0