Medical Imaging Interaction Toolkit  2023.04.00
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkDistModels_h
14 #define mitkDistModels_h
15 
16 #include <MitkCLImportanceWeightingExports.h>
17 
18 namespace mitk
19 {
20  class MITKCLIMPORTANCEWEIGHTING_EXPORT AbstractDistribution
21  {
22  public:
23  virtual double SqrtVariance(double mu) = 0;
24  virtual double Devariation(double mu, double y) = 0;
25  virtual double Init(double y) = 0;
26  };
27 
28  class MITKCLIMPORTANCEWEIGHTING_EXPORT DistSimpleBinominal : AbstractDistribution
29  {
30  public:
31  double SqrtVariance(double mu) override;
32  double Devariation(double mu, double y) override;
33  double Init(double y) override;
34  };
35 }
36 
37 #endif
mitk::AbstractDistribution
Definition: mitkDistModels.h:20
mitk::DistSimpleBinominal
Definition: mitkDistModels.h:28
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1