|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <PredictorMfeEns2dHeuristic.h>


Protected Types | |
| typedef Matrix< BestInteractionZ > | Z2dMatrix |
| matrix type to hold the mfe energies and boundaries for interaction site starts | |
Protected Types inherited from IntaRNA::PredictorMfeEns2d | |
| typedef Matrix< Z_type > | Z2dMatrix |
| matrix type to hold the partition functions for interaction site starts | |
Protected Types inherited from IntaRNA::PredictorMfe | |
| typedef BestInteraction< E_type > | BestInteractionE |
| BestInteraction that stores an energy value. | |
| typedef BestInteraction< Z_type > | BestInteractionZ |
| BestInteraction that stores a partition function value. | |
| typedef std::list< Interaction > | InteractionList |
| list of interactions | |
| typedef boost::unordered_map< Interaction::BasePair, BestInteractionE, Interaction::BasePair::Hash > | HashIdx2E |
| hash to map index pairs to BestInteractionE entries | |
Protected Member Functions | |
| virtual void | fillHybridZ () |
Protected Member Functions inherited from IntaRNA::PredictorMfeEns2d | |
| virtual void | fillHybridZ (const size_t j1, const size_t j2, const size_t i1init, const size_t i2init, const bool callUpdateZ) |
Protected Member Functions inherited from IntaRNA::PredictorMfeEns | |
| virtual void | initZ () |
| 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) |
| virtual void | reportOptima () |
| virtual void | traceBack (Interaction &interaction) |
Protected Member Functions inherited from IntaRNA::PredictorMfe | |
| virtual void | initOptima () |
| bool | isValidOutputSite (const size_t i1, const size_t j1, const size_t i2, const size_t j2) const |
| 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) |
| virtual void | getNextBest (Interaction &curBest) |
| virtual void | updateMfe4leftEnd (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const Interaction &curInteraction) |
Protected Member Functions inherited from IntaRNA::Predictor | |
| virtual void | updateZall (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy, const bool isHybridE) |
| void | incrementZall (const Z_type partZ) |
Protected Attributes | |
| Z2dMatrix | hybridZ |
| energy of all interaction hybrids starting in i1,i2 | |
| InteractionEnergyIdxOffset | energy |
| access to the interaction energy handler of the super class | |
| OutputHandler & | output |
| access to the output handler of the super class | |
Protected Attributes inherited from IntaRNA::PredictorMfeEns2d | |
| Z2dMatrix | hybridZ |
| InteractionEnergyIdxOffset | energy |
| access to the interaction energy handler of the super class | |
| OutputHandler & | output |
| access to the output handler of the super class | |
Protected Attributes inherited from IntaRNA::PredictorMfeEns | |
| std::unordered_map< Interaction::Boundary, Z_type, Interaction::Boundary::Hash > | Z_partition |
| map storing the partition of Zall for all considered interaction sites | |
| bool | updateZisComplete |
| whether updateZ() currently receives one complete boundary partition | |
| InteractionEnergyIdxOffset | energy |
| access to the interaction energy handler of the super class | |
| OutputHandler & | output |
| access to the output handler of the super class | |
| PredictionTracker * | predTracker |
| access to the prediction tracker of the super class | |
Protected Attributes inherited from IntaRNA::PredictorMfe | |
| InteractionList | mfeInteractions |
| mfe interaction boundaries | |
| HashIdx2E | mfe4leftEnd |
| std::pair< IndexRangeList, IndexRangeList > | reportedInteractions |
| InteractionEnergyIdxOffset | energy |
| access to the interaction energy handler of the super class | |
| OutputHandler & | output |
| access to the output handler of the super class | |
| PredictionTracker * | predTracker |
| access to the prediction tracker of the super class | |
Protected Attributes inherited from IntaRNA::Predictor | |
| InteractionEnergyIdxOffset | energy |
| energy computation handler | |
| OutputHandler & | output |
| interaction output handler | |
| PredictionTracker * | predTracker |
| prediction tracker to be used | |
| Z_type | Zall |
Additional Inherited Members | |
Static Public Member Functions inherited from IntaRNA::Predictor | |
| static size_t | getMaxInteractionWidth (const size_t w, const size_t maxLoopSize) |
Memory efficient ensemble interaction predictor that uses a heuristic to find the mfe or a close-to-mfe interaction.
To this end, for each interaction start i1,i2 only the optimal right side interaction with boundaries j1,j2 is considered in the recursion instead of all possible interaction ranges.
This yields a quadratic time and space complexity.
|
protected |
matrix type to hold the mfe energies and boundaries for interaction site starts
| IntaRNA::PredictorMfeEns2dHeuristic::PredictorMfeEns2dHeuristic | ( | const InteractionEnergy & | energy, |
| OutputHandler & | output, | ||
| PredictionTracker * | predTracker | ||
| ) |
Constructs a predictor and stores the energy and output handler
| energy | the interaction energy handler |
| output | the output handler to report mfe interactions to |
| predTracker | the prediction tracker to be used or NULL if no tracking is to be done; if non-NULL, the tracker gets deleted on this->destruction. |
|
virtual |
|
protectedvirtual |
Computes all entries of the hybridE matrix and reports all valid interactions via updateOptima()
|
virtual |
Computes the mfe for the given sequence ranges (i1-j1) in the first sequence and (i2-j2) in the second sequence and reports it to the output handler.
| r1 | the index range of the first sequence interacting with r2 |
| r2 | the index range of the second sequence interacting with r1 |
Reimplemented from IntaRNA::PredictorMfeEns2d.
|
protected |
access to the interaction energy handler of the super class
|
protected |
energy of all interaction hybrids starting in i1,i2
|
protected |
access to the output handler of the super class