|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <AccessibilityArchive.h>
Public Types | |
| typedef UpperBandedMatrix< E_type > | EdMatrix |
Public Member Functions | |
| AccessibilityArchive (const Accessibility &source, const EdMatrix *matrix=nullptr) | |
| AccessibilityArchive (const RnaSequence &sequence, size_t maxLength, EdMatrix &target) | |
| size_t | getMaxLength () const |
Friends | |
| class | boost::serialization::access |
Serialization view of the logical accessibility matrix, independent of its physical storage. Version 1 stores exact internal ED integers, in rows of increasing start position and interval length, including maxLength+1 for dangling ends. Only valid cells are stored. Matrix-backed saves and full-band loads use row views directly; generic saves and discarded input tails need O(maxLength) scratch memory. The version 1 archive layout is unchanged.
The input sequence and requested band bound allocations on load. Native Boost binary archives require a compatible architecture and Boost version. This is an internal file-format helper, not an installed public interface.
|
inlineexplicit |
Create a read-only serialization view.
| source | accessibility data, alive until serialization finishes |
| matrix | optional non-owning view of the source's unconstrained ED values; nullptr or non-empty constraints select the generic getED() path |
|
inline |
Create a loading view; target is resized to the requested available band.
|
inline |
Return the interaction length retained after loading.
|
friend |