forked from gcyuan/diHMM-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnnotation.h
More file actions
35 lines (25 loc) · 894 Bytes
/
Annotation.h
File metadata and controls
35 lines (25 loc) · 894 Bytes
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
//
// Created by Stephanos Tsoucas on 7/5/17.
//
#ifndef BOOSTPYTHONHELLOWORLD_ANNOTATION_H
#define BOOSTPYTHONHELLOWORLD_ANNOTATION_H
#include <armadillo>
using namespace arma;
class Annotation {
const vec bins;
const vec domains;
const mat &bin_data;
const std::vector<std::pair<uword, uword>> anno;
public:
Annotation(vec bin_state_distributions, vec domain_state_distributions,
const mat &bin_data,
const std::vector<std::pair<uword, uword>> &annotation_data)
: bins(bin_state_distributions), domains(domain_state_distributions),
bin_data(bin_data), anno(annotation_data) {}
const vec bin_state_coverage() const { return bins; }
const vec domain_state_coverage() const { return domains; }
const std::vector<std::pair<uword, uword>> &annotations() const {
return anno;
}
};
#endif // BOOSTPYTHONHELLOWORLD_ANNOTATION_H