LocARNA-2.0.0
|
Restricts range of an alignment in Aligner. More...
#include <aligner_restriction.hh>
Public Member Functions | |
AlignerRestriction (int startA, int startB, int endA, int endB) | |
end position in B More... | |
size_t | startA () const |
size_t | endA () const |
size_t | startB () const |
size_t | endB () const |
void | set_startA (size_t p) |
void | set_endA (size_t p) |
void | set_startB (size_t p) |
void | set_endB (size_t p) |
Restricts range of an alignment in Aligner.
Contains information for restricting Aligner to sub-sequences startA..endA amd startB..endB.
Take care when using aligner restrictions for multiple Alignments with the same aligner object. The D-matrix is only computed once, so this works as long as the first Aligner::align() is called with the most general restriction (e.g. no restriction at all)!
|
inline |
end position in B
Constructs with start and end positions of subsequences
startA | start position in A |
startB | start position in B |
endA | end position in A |
endB | end position in B |
|
inline |
Read access to member
|
inline |
Read access to member
|
inline |
Write access to member
p | end position in A |
|
inline |
Write access to member
p | end position in B |
|
inline |
Write access to member
p | start position in A |
|
inline |
Write access to member
p | start position in B |
|
inline |
Read access to member
|
inline |
Read access to member