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

Public Member Functions | |
| InteractionRange (const RnaSequence &rna1, const RnaSequence &rna2, const IndexRange &r1=IndexRange(0, RnaSequence::lastPos), const IndexRange &r2=IndexRange(RnaSequence::lastPos, 0), const E_type energy=E_INF) | |
| InteractionRange (const Interaction &interaction) | |
| virtual | ~InteractionRange () |
| bool | isSane () const |
| const bool | operator< (const InteractionRange &r) const |
| InteractionRange & | operator= (const Interaction &interaction) |
Public Attributes | |
| const RnaSequence * | s1 |
| the first interaction partner | |
| const RnaSequence * | s2 |
| the second interaction partner | |
| IndexRange | r1 |
| the index range of s1 interacting with r2 | |
| IndexRange | r2 |
| the index range of s2 interacting with r1 | |
| E_type | energy |
| the energy value associated with this interaction range | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const InteractionRange &r) |
Represents two ranges that form an interaction
|
inline |
Construction of an interaction range given two index ranges
| rna1 | the first RNA interacting |
| rna2 | the second RNA interacting |
| r1 | the range of rna1 interacting |
| r2 | the range of rna2 interacting |
| energy | the energy value assigned to the range |
|
inline |
Construction of an interaction range given two index ranges
|
inlinevirtual |
Destruction
|
inline |
Checks whether or not the range encoding is reasonable.
|
inline |
Defines a less-than order on interaction ranges.
| r | the range to compare to |
| InteractionRange & IntaRNA::InteractionRange::operator= | ( | const Interaction & | interaction | ) |
Copies the range of the given interaction into this.
| interaction | the interaction to get the range from |
|
friend |
Prints the range's boundaries to stream
| out | the ostream to write to |
| r | the InteractionRange object to add |
| E_type IntaRNA::InteractionRange::energy |
the energy value associated with this interaction range
| IndexRange IntaRNA::InteractionRange::r1 |
the index range of s1 interacting with r2
| IndexRange IntaRNA::InteractionRange::r2 |
the index range of s2 interacting with r1
| const RnaSequence* IntaRNA::InteractionRange::s1 |
the first interaction partner
| const RnaSequence* IntaRNA::InteractionRange::s2 |
the second interaction partner