-
Notifications
You must be signed in to change notification settings - Fork 1
/
smile.h
80 lines (68 loc) · 1.95 KB
/
smile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#ifndef SMILE_H
#define SMILE_H
// {{SMILE_PUBLIC_HEADER}}
// client-side SMILE header
// DO NOT USE for internal SMILE development
#ifdef _WIN32
#if (_MSC_VER >= 1400) && defined(NDEBUG) && (!defined(_SECURE_SCL) || _SECURE_SCL != 0)
#error SMILE : in release build _SECURE_SCL must be defined and set to zero for VS.NET 2005 or later
#endif
#ifndef SMILE_VC_NO_AUTOLINK
// automatically link with SMILE library
#ifdef NDEBUG
#ifdef _DLL
#pragma comment(lib, "smile_dyn")
#else
#pragma comment(lib, "smile")
#endif
#else
#ifdef _DLL
#pragma comment(lib, "smile_dbg")
#else
#error SMILE : in debug build the runtime library must be set to Multi-threaded Debug DLL
#endif
#endif
#endif
#endif
// basic data structures
#include "intarray.h"
#include "doublearray.h"
#include "dmatrix.h"
#include "syscoord.h"
#include "generalclases.h"
// network structure
#include "network.h"
#include "node.h"
#include "submodel.h"
#include "simplecase.h"
#include "errorstrings.h"
#include "progress.h"
// supported node definition classes
#include "defcpt.h"
#include "deftruthtable.h"
#include "defnoisymax.h"
#include "defnoisyadder.h"
#include "deflist.h"
#include "deftable.h"
#include "defmau.h"
#include "defdemorgan.h"
#include "defequation.h"
// supported node value classes
#include "valbeliefvector.h"
#include "vallistofdecisions.h"
#include "valexpectedutility.h"
#include "valmauexpectedutility.h"
#include "valequationevaluation.h"
// voi
#include "valueofinfo.h"
// sensitivity
#include "sensitivity.h"
// define SMILE_NO_DIAGNOSIS before including smile.h
// to skip diag-related functionality
#ifndef SMILE_NO_DIAGNOSIS
#include "diag_network.h"
#include "nodecost.h"
#include "extradefinition.h"
#include "caselibrary.h"
#endif // !SMILE_NO_DIAGNOSIS
#endif