IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
PredictorMfeEns.h
Go to the documentation of this file.
1
2#ifndef INTARNA_PREDICTORMFEENS_H_
3#define INTARNA_PREDICTORMFEENS_H_
4
5
7
9
10#include <list>
11#include <utility>
12
13namespace IntaRNA {
14
22
23
24public:
25
38
40
41protected:
42
44 struct ZPartition {
45 size_t i1;
46 size_t j1;
47 size_t i2;
48 size_t j2;
50 };
51
54
57
60
62 std::unordered_map<Interaction::Boundary, Z_type, Interaction::Boundary::Hash> Z_partition;
63
66
67
72 virtual
73 void
75
93 virtual
94 void
95 updateZ( const size_t i1, const size_t j1
96 , const size_t i2, const size_t j2
97 , const Z_type partFunct
98 , const bool isHybridZ );
99
108 void
109 updateCompleteZ( const size_t i1, const size_t j1
110 , const size_t i2, const size_t j2
111 , const Z_type partFunct
112 , const bool isHybridZ );
113
118 virtual
119 void
121
126 virtual
127 void
128 traceBack( Interaction & interaction );
129
130private:
131
136 bool
137 addPartitionContribution( const size_t i1, const size_t j1
138 , const size_t i2, const size_t j2
139 , const Z_type partFunct
140 , const bool isHybridZ
141 , Z_type & partZ_noED );
142
148 virtual
149 void
150 updateOptimaUsingZ();
151
152};
153
154} // namespace
155
156#endif /* INTARNA_PREDICTORMFEENS_H_ */
Definition InteractionEnergy.h:20
Definition Interaction.h:28
Definition OutputHandler.h:20
Definition PredictionTracker.h:15
Definition PredictorMfeEns.h:21
PredictorMfeEns(const InteractionEnergy &energy, OutputHandler &output, PredictionTracker *predTracker)
std::unordered_map< Interaction::Boundary, Z_type, Interaction::Boundary::Hash > Z_partition
map storing the partition of Zall for all considered interaction sites
Definition PredictorMfeEns.h:62
virtual void updateZ(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const Z_type partFunct, const bool isHybridZ)
void updateCompleteZ(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const Z_type partFunct, const bool isHybridZ)
PredictionTracker * predTracker
access to the prediction tracker of the super class
Definition Predictor.h:91
virtual void traceBack(Interaction &interaction)
virtual void reportOptima()
InteractionEnergyIdxOffset energy
access to the interaction energy handler of the super class
Definition Predictor.h:85
OutputHandler & output
access to the output handler of the super class
Definition Predictor.h:88
bool updateZisComplete
whether updateZ() currently receives one complete boundary partition
Definition PredictorMfeEns.h:65
Definition PredictorMfe.h:24
PredictionTracker * predTracker
access to the prediction tracker of the super class
Definition Predictor.h:91
InteractionEnergyIdxOffset energy
access to the interaction energy handler of the super class
Definition Predictor.h:85
OutputHandler & output
access to the output handler of the super class
Definition Predictor.h:88
Definition Accessibility.h:13
double Z_type
type for probabilities, RT and Boltzmann values
Definition general.h:88
data container to encode a site with respective partition function
Definition PredictorMfeEns.h:44
size_t j1
Definition PredictorMfeEns.h:46
Z_type partZ
Definition PredictorMfeEns.h:49
size_t i1
Definition PredictorMfeEns.h:45
size_t i2
Definition PredictorMfeEns.h:47
size_t j2
Definition PredictorMfeEns.h:48