1 /**************************************************************
2  *** RHmm package
3  ***
4  *** File: RHmm.h
5  ***
6  *** Author: Ollivier TARAMASCO <Ollivier.Taramasco@imag.fr>
7  *** Author: Sebastian BAUER <sebastian.bauer@charite.de>
8  ***
9  **************************************************************/
10 
11 #ifndef _RHMM_H_
12 #define _RHMM_H_
13 #pragma once
14 
15 #ifdef _RDLL_
16 
17 #include <R.h>
18 #include <Rinternals.h>
19 #include <Rmath.h>
20 
21 
22 typedef enum ParamHMMEnum
23 {       eNClasses=0,
24         eObsDim,
25         eNMixt,
26         eNProba,
27         eDistrType
28 }ParamHMMEnum ;
29 
30 typedef enum ParamAlgoBWEnum
31 {       eInitType=0,
32         eNMaxIter,
33         eTol,
34         eVerbose,
35         eNInitIter,
36         eNMaxIterinit,
37         eInitPoint
38 }ParamAlgoBWEnum ;
39 
40 typedef enum HMMEnum
41 {       fInitProba=0,
42         fTransMat,
43         fDistr
44 }HMMEnum ;
45 
46 typedef enum DistEnum
47 {       gType=0,
48         gNClasses
49 }DistEnum ;
50 
51 #ifdef WIN32
52         #define DECL_DLL_EXPORT __declspec(dllexport)
53 #else
54         #define DECL_DLL_EXPORT
55 #endif // WIN32
56 
57 #ifndef BEG_EXTERN_C
58         #define BEG_EXTERN_C extern "C" {
59         #define END_EXTERN_C }
60 #endif //BEG_EXTERN_C
61 
62 #endif // _RDLL_
63 #endif //_RHMM_H_
64