IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
PredictorMfe2dHelixBlockHeuristicSeed.h
Go to the documentation of this file.
1
2#ifndef INTARNA_PREDICTORMFE2DHELIXBLOCKHEURISTICSEED_H
3#define INTARNA_PREDICTORMFE2DHELIXBLOCKHEURISTICSEED_H
4
7
8namespace IntaRNA {
9
10
28
29
32
33public:
34
48 , const HelixConstraint & helixConstraint
49 , SeedHandler * seedHandlerInstance
50 );
51
53
63 virtual
64 void
67
68protected:
69
72
75
78
82
85
88
89 //
91
92protected:
93
99 virtual
100 void
101 traceBack( Interaction & interaction );
102
103
115 virtual
116 void
118
129 virtual
130 void
131 updateOptima( const size_t i1, const size_t j1
132 , const size_t i2, const size_t j2
133 , const E_type energy
134 , const bool isHybridE );
135
136
137};
138
142
143inline
144void
146updateOptima( const size_t i1, const size_t j1
147 , const size_t i2, const size_t j2
148 , const E_type energy
149 , const bool isHybridE )
150{
151 // temporarily disable tracker
152 PredictionTracker * curPredTracker = this->predTracker;
153 this->predTracker = NULL;
154 // update optimum information, such that we might skip this sequence pair
155 PredictorMfe2dHeuristic::updateOptima(i1,j1,i2,j2,energy,isHybridE,false);
156 // reenable tracker
157 this->predTracker = curPredTracker;
158}
159
161
162} // namespace
163#endif //INTARNA_PREDICTORMFE2DHELIXBLOCKHEURISTICSEED_H
Definition HelixConstraint.h:19
Definition IndexRange.h:20
Definition InteractionEnergy.h:20
Definition Interaction.h:28
Definition OutputHandler.h:20
Definition PredictionTracker.h:15
Definition PredictorMfe2dHelixBlockHeuristicSeed.h:27
virtual void predict(const IndexRange &r1=IndexRange(0, RnaSequence::lastPos), const IndexRange &r2=IndexRange(0, RnaSequence::lastPos))
virtual void traceBack(Interaction &interaction)
virtual void updateOptima(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy, const bool isHybridE)
Definition PredictorMfe2dHelixBlockHeuristicSeed.h:146
virtual void getNextBest(Interaction &curBest)
PredictorMfe2dHelixBlockHeuristicSeed(const InteractionEnergy &energy, OutputHandler &output, PredictionTracker *predTracker, const HelixConstraint &helixConstraint, SeedHandler *seedHandlerInstance)
E2dMatrix hybridE_seed
the best hybridization energy including a seed for start i1,i2
Definition PredictorMfe2dHelixBlockHeuristicSeed.h:87
SeedHandlerIdxOffset seedHandler
Definition PredictorMfe2dHelixBlockHeuristicSeed.h:90
Definition PredictorMfe2dHelixBlockHeuristic.h:27
HelixHandlerIdxOffset helixHandler
helixHandler used only for creating HelixHandlerOffset
Definition PredictorMfe2dHelixBlockHeuristic.h:82
E2dMatrix hybridE
energy of all interaction hybrids starting in i1,i2
Definition PredictorMfe2dHeuristic.h:75
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
std::pair< IndexRangeList, IndexRangeList > reportedInteractions
Definition PredictorMfe.h:108
PredictionTracker * predTracker
access to the prediction tracker of the super class
Definition Predictor.h:91
InteractionEnergyIdxOffset energy
energy computation handler
Definition Predictor.h:85
OutputHandler & output
interaction output handler
Definition Predictor.h:88
virtual void updateOptima(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy, const bool isHybridE, const bool incrementZall)=0
static const size_t lastPos
Definition RnaSequence.h:57
Definition SeedHandlerIdxOffset.h:23
Definition SeedHandler.h:17
Definition Accessibility.h:13
int E_type
type for energy values (energy + accessibility [ED]) (internally)
Definition general.h:78