-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSequence.h
41 lines (33 loc) · 872 Bytes
/
Sequence.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
#ifndef SEQUENCE_H
#define SEQUENCE_H
#include <vector>
#include <Eigen/Dense>
#include <iostream>
#include "parameters.hpp"
#include <string>
#include <fstream>
using namespace std;
using namespace Eigen;
namespace hhmm{
class HHMM;
class TestHHMM;
class Sequence{
friend HHMM;
friend TestHHMM;
protected:
uint32_t len;
vector<VectorXld> V;//Observed sequence.
vector<uint32_t> state;
vector<uint32_t> testV;//Fix Me.
public:
parameters param;
Sequence(vector<VectorXld> const&,vector<uint32_t> const&,uint32_t);
// Sequence(vector<uint32_t> const&,uint32_t,uint32_t,uint32_t);
virtual ~Sequence() = default;
// uint32_t obs(uint32_t i) const{return testV[i];}
VectorXld obs(uint32_t i) const{return V[i];}
uint32_t size() const{return len;}
void print(string const&) const;
};
}
#endif