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 | |
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)!
LocARNA::AlignerRestriction::AlignerRestriction | ( | int | startA, |
int | startB, | ||
int | endA, | ||
int | endB | ||
) | [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 |
size_t LocARNA::AlignerRestriction::endA | ( | ) | const [inline] |
Read access to member
size_t LocARNA::AlignerRestriction::endB | ( | ) | const [inline] |
Read access to member
void LocARNA::AlignerRestriction::set_endA | ( | size_t | p | ) | [inline] |
Write access to member
p | end position in A |
void LocARNA::AlignerRestriction::set_endB | ( | size_t | p | ) | [inline] |
Write access to member
p | end position in B |
void LocARNA::AlignerRestriction::set_startA | ( | size_t | p | ) | [inline] |
Write access to member
p | start position in A |
void LocARNA::AlignerRestriction::set_startB | ( | size_t | p | ) | [inline] |
Write access to member
p | start position in B |
size_t LocARNA::AlignerRestriction::startA | ( | ) | const [inline] |
Read access to member
size_t LocARNA::AlignerRestriction::startB | ( | ) | const [inline] |
Read access to member