IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
PredictorMfeEns2dHeuristic.h
Go to the documentation of this file.
1
2#ifndef INTARNA_PREDICTORMFEENS2DHEURISTIC_H_
3#define INTARNA_PREDICTORMFEENS2DHEURISTIC_H_
4
7
8#include "IntaRNA/Matrix.h"
9
10namespace IntaRNA {
11
31
32protected:
33
36
37public:
38
54
55 virtual ~PredictorMfeEns2dHeuristic() override;
56
66 virtual
67 void
69 , const IndexRange & r2 = IndexRange(0,RnaSequence::lastPos) ) override;
70
71protected:
72
75
78
81
84
98
99protected:
100
102 void predictRegionHeuristic(const IndexRange & r1,const IndexRange & r2);
103
108 void recordProbabilityCandidate(size_t i1,size_t j1,size_t i2,size_t j2,
109 Z_type hybrid,const ProbabilityContinuation & continuation);
110
113
118 virtual
119 void
121
122 // Restricted output uses PredictorMfe's best finalized site per left boundary.
123 // Intermediate hybridZ cells do not contain complete site ensemble energies.
124
125};
126
127} // namespace
128
129#endif /* INTARNA_PREDICTORMFEENS2DHEURISTIC_H_ */
Definition BasePairProbabilities.h:16
Definition IndexRange.h:20
Definition InteractionEnergy.h:20
Definition Matrix.h:49
Definition OutputHandler.h:22
Definition PredictionTracker.h:15
Definition PredictorMfeEns2dHeuristic.h:30
PredictorMfeEns2dHeuristic(const InteractionEnergy &energy, OutputHandler &output, PredictionTracker *predTracker, BasePairProbabilities *pairProbabilities=nullptr)
Matrix< Z_type > probabilityFlow
Complete candidate weight flowing into each retained continuation.
Definition PredictorMfeEns2dHeuristic.h:93
Z2dMatrix hybridZ
energy of all interaction hybrids starting in i1,i2
Definition PredictorMfeEns2dHeuristic.h:83
Z_type probabilityDenominator
Independently accumulated objective, required to agree exactly with Zall.
Definition PredictorMfeEns2dHeuristic.h:97
InteractionEnergyIdxOffset energy
access to the interaction energy handler of the super class
Definition Predictor.h:85
Matrix< ProbabilityContinuation > probabilityContinuation
Allocated only for probability output; selected continuations form a DAG.
Definition PredictorMfeEns2dHeuristic.h:91
OutputHandler & output
access to the output handler of the super class
Definition Predictor.h:88
void recordProbabilityCandidate(size_t i1, size_t j1, size_t i2, size_t j2, Z_type hybrid, const ProbabilityContinuation &continuation)
void predictRegionHeuristic(const IndexRange &r1, const IndexRange &r2)
virtual ~PredictorMfeEns2dHeuristic() override
virtual void predict(const IndexRange &r1=IndexRange(0, RnaSequence::lastPos), const IndexRange &r2=IndexRange(0, RnaSequence::lastPos)) override
Matrix< Z_type > probabilityMass
Numerators in local target/reversed-query coordinates until region commit.
Definition PredictorMfeEns2dHeuristic.h:95
Matrix< BestInteractionZ > Z2dMatrix
matrix type to hold the mfe energies and boundaries for interaction site starts
Definition PredictorMfeEns2dHeuristic.h:35
Definition PredictorMfeEns2d.h:21
BasePairProbabilities * pairProbabilities
optional sequence-pair owner, never deleted or finalized by this predictor
Definition PredictorMfeEns2d.h:68
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
PredictionTracker * predTracker
access to the prediction tracker of the super class
Definition Predictor.h:91
std::pair< IndexRangeList, IndexRangeList > reportedInteractions
Definition PredictorMfe.h:136
static const size_t lastPos
Definition RnaSequence.h:57
Definition Accessibility.h:13
double Z_type
type for probabilities, RT and Boltzmann values
Definition general.h:88
The selected chain owns its first pair and, optionally, its next stack pair.
Definition PredictorMfeEns2dHeuristic.h:86
size_t next1
Definition PredictorMfeEns2dHeuristic.h:87
bool extraPair
Definition PredictorMfeEns2dHeuristic.h:88
size_t next2
Definition PredictorMfeEns2dHeuristic.h:87