Initial snark14m import
[snark14.git] / src / snark / SARTConfig.h
1 /*
2  ***********************************************************
3  $SNARK_Header: S N A R K  1 4 - A PICTURE RECONSTRUCTION PROGRAM $
4  $HeadURL: svn://dig.cs.gc.cuny.edu/snark/trunk/src/snark/SARTConfig.h $
5  $LastChangedRevision: 95 $
6  $Date: 2014-07-02 19:43:36 -0400 (Wed, 02 Jul 2014) $
7  $Author: agulati $
8  ***********************************************************
9
10  This class is responsible for the configuration of the
11  Simultaneous Reconstruction Algorithm Technique (SART)
12  */
13
14 #ifndef SARTCONFIG_H_
15 #define SARTCONFIG_H_
16
17 #include "blkdta.h"
18
19 class SARTConfig
20 {
21
22 private:
23         SARTConfig();
24         virtual ~SARTConfig();
25
26 public:
27         static REAL relaxiation; // the relaxation parameter. default value = 1
28         static REAL zeroThreshold; // the threshold when a value is set to zero. default value = 0.00001
29
30         /**
31          * Reads all parameters of the SART configuration from the snark input file
32          */
33         static BOOLEAN readSARTConfiguration();
34
35 private:
36         static void printErrorMessage(char* errorString);
37 };
38
39 #endif /* SARTCONFIG_H_ */