Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDistModels.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkDistModels_h
18 #define mitkDistModels_h
19 
20 #include <MitkCLImportanceWeightingExports.h>
21 
22 namespace mitk
23 {
24  class MITKCLIMPORTANCEWEIGHTING_EXPORT AbstractDistribution
25  {
26  public:
27  virtual double SqrtVariance(double mu) = 0;
28  virtual double Devariation(double mu, double y) = 0;
29  virtual double Init(double y) = 0;
30  };
31 
32  class MITKCLIMPORTANCEWEIGHTING_EXPORT DistSimpleBinominal : AbstractDistribution
33  {
34  public:
35  virtual double SqrtVariance(double mu);
36  virtual double Devariation(double mu, double y);
37  virtual double Init(double y);
38  };
39 }
40 
41 #endif
DataCollection - Class to facilitate loading/accessing structured data.