IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
PredictionTrackerPairMinE.h
Go to the documentation of this file.
1
2#ifndef INTARNA_PREDICTIONTRACKERPAIRMINE_H_
3#define INTARNA_PREDICTIONTRACKERPAIRMINE_H_
4
7
8#include <iostream>
9
10#include <boost/algorithm/string.hpp>
11#include "IntaRNA/Matrix.h"
12
13
14namespace IntaRNA {
15
23{
24
25public:
26
44 , const std::string & streamName
45 , const std::string & E_INF_string = "NA"
46 , const std::string & sep = ";"
47 );
48
64 , std::ostream * outStream
65 , const std::string & E_INF_string = "NA"
66 , const std::string & sep = ";"
67 );
68
73
74
84 virtual
85 void
86 updateOptimumCalled( const size_t i1, const size_t j1
87 , const size_t i2, const size_t j2
88 , const E_type energy
89 );
90
91
92protected:
93
96
99
101 std::ostream * outStream;
102
104 const std::string E_INF_string;
105
107 const std::string sep_string;
108
111
114
124 static
125 void
126 writeData( std::ostream &out
127 , const E2dMatrix & pairMinE
128 , const InteractionEnergy & energy
129 , const std::string & E_INF_string
130 , const std::string & sep_string );
131
132
133};
134
136
137} // namespace
138
139#endif /* PREDICTIONTRACKERPAIRMINE_H_ */
Definition InteractionEnergy.h:20
Definition Matrix.h:49
Definition PredictionTrackerPairMinE.h:23
PredictionTrackerPairMinE(const InteractionEnergy &energy, const std::string &streamName, const std::string &E_INF_string="NA", const std::string &sep=";")
const std::string E_INF_string
the output string representation of E_INF values in the profile output
Definition PredictionTrackerPairMinE.h:104
E2dMatrix pairMinE
the index-pair-wise minimal energy values
Definition PredictionTrackerPairMinE.h:113
PredictionTrackerPairMinE(const InteractionEnergy &energy, std::ostream *outStream, const std::string &E_INF_string="NA", const std::string &sep=";")
static void writeData(std::ostream &out, const E2dMatrix &pairMinE, const InteractionEnergy &energy, const std::string &E_INF_string, const std::string &sep_string)
Matrix< E_type > E2dMatrix
matrix type to hold the mfe energies and boundaries for interaction site starts
Definition PredictionTrackerPairMinE.h:110
const bool deleteStreamsOnDestruction
whether or not the streams are to be deleted on destruction
Definition PredictionTrackerPairMinE.h:98
std::ostream * outStream
the stream to write the minE-data to
Definition PredictionTrackerPairMinE.h:101
const std::string sep_string
the output string representation of column separators
Definition PredictionTrackerPairMinE.h:107
virtual void updateOptimumCalled(const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy)
const InteractionEnergy & energy
energy handler used for predictions
Definition PredictionTrackerPairMinE.h:95
Definition PredictionTracker.h:15
Definition Accessibility.h:13
int E_type
type for energy values (energy + accessibility [ED]) (internally)
Definition general.h:78