Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkLinkModels.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 mitkLinkModels_h
18 #define mitkLinkModels_h
19 
20 #include <MitkCLImportanceWeightingExports.h>
21 
22 namespace mitk
23 {
24  class MITKCLIMPORTANCEWEIGHTING_EXPORT AbstractLinkingFunction
25  {
26  public:
27  virtual double Link(double mu) = 0;
28  virtual double DLink(double mu) = 0;
29  virtual double InverseLink(double eta) = 0;
30  };
31 
32  class MITKCLIMPORTANCEWEIGHTING_EXPORT LogItLinking : AbstractLinkingFunction
33  {
34  public:
35  LogItLinking();
36  double Link(double mu);
37  double DLink(double mu);
38  double InverseLink(double eta);
39  private:
40  double lowerBound;
41  double upperBound;
42  };
43 }
44 
45 #endif
DataCollection - Class to facilitate loading/accessing structured data.