trinomeiss.h
1.18 KB
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
#ifndef DEF_HTRISS
#define DEF_HTRISS
#include "structure.h"
#include "solinteraction.h"
#include "rna.h"
class TrinomeISS{
public:
TrinomeISS();
TrinomeISS(const Structure &str1, const Structure &str2, const SolInteraction &inte, double m1, double m2, double score);
~TrinomeISS();
Structure get_str1_() const;
Structure get_str2_() const;
Rna * get_rna1_() const;
Rna * get_rna2_() const;
SolInteraction get_inte_() const;
double get_m1_() const;
double get_m2_() const;
double get_score_() const;
std::string convToDP() const;
std::string convToDPInvert() const;
bool operator<(const TrinomeISS &t);
bool operator>(const TrinomeISS &t);
bool operator<=(const TrinomeISS &t);
bool operator>=(const TrinomeISS &t);
bool operator==(const TrinomeISS &t);
bool operator!=(const TrinomeISS& t);
static int matchStrInt(const SolInteraction &inte, const Structure &str1, const Structure &str2, TrinomeISS &triss);
private:
Structure str1_;
Structure str2_;
SolInteraction inte_;
double m1_; /*percentage of match between str1_ and int_*/
double m2_;
double score_;
};
#endif