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


Public Member Functions | |
| OutputHandler (const OutputConstraint &outConstraint) | |
| virtual | ~OutputHandler () |
| virtual void | add (const Interaction &interaction)=0 |
| virtual size_t | reported () const |
| virtual void | incrementZ (const Z_type subZ) |
| virtual Z_type | getZ () const |
| const OutputConstraint & | getOutputConstraint () const |
Static Public Member Functions | |
| static std::string | reverse (const std::string &str) |
Protected Attributes | |
| const OutputConstraint | outConstraint |
| the output constraints to be applied | |
| size_t | reportedInteractions |
| number of reported interactions | |
| Z_type | Z |
| overall partition function for the sequences provided in Z_energy | |
Defines an output and storage interface to enable different output formats for all predicted RNA-RNA interactions.
|
inline |
Construction
| outConstraint | the output constraints to be heeded |
|
inlinevirtual |
Destruction
|
pure virtual |
Adds a given RNA-RNA interaction to the storage/output.
NOTE: the given interaction object and its source object might be deleted later on. Thus, a deep copy is needed in order to make them completely independent.
| interaction | the interaction to add |
| outConstraint | the output constraint applied to find the reported interaction |
Implemented in IntaRNA::OutputHandlerCsv, IntaRNA::OutputHandlerEnsemble, IntaRNA::OutputHandlerHub, IntaRNA::OutputHandlerInteractionList, and IntaRNA::OutputHandlerText.
|
inline |
Access to the output constraints to be applied
|
inlinevirtual |
Access to the partition function (initialized with 0) aggregated via incrementZ().
Reimplemented in IntaRNA::OutputHandlerHub.
|
inlinevirtual |
Increments the overall partition function with the given value.
Note, take care that multiple increments have to represent disjoint subsets of all interactions for the same pair of sequences, otherwise the aggregated overall partition function will be wrong!
| subZ | increment to be added to the overall partition function |
Reimplemented in IntaRNA::OutputHandlerHub.
|
inlinevirtual |
Returns the number of reported interactions.
Reimplemented in IntaRNA::OutputHandlerHub.
|
inlinestatic |
returns the reversed string
| str | the string to reverse |
|
protected |
the output constraints to be applied
|
protected |
number of reported interactions
|
protected |
overall partition function for the sequences provided in Z_energy