|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Costs
The general interface for the costs of an alignment.
| Nested Class Summary | |
|---|---|
static class |
Costs.Direction
The direction of the predecessor in the DP (dynamic programming)-matrix. |
| Method Summary | |
|---|---|
double |
getCostFor(Sequence s1,
Sequence s2,
int i,
int j,
Costs.Direction from)
Returns the costs for the alignment if s1(i) and
s2(j) coming from from. |
double |
getElongateCosts()
Returns the costs to elongate a gap by one position. |
double |
getGapCostsFor(int length)
Returns the costs for a gap of length length. |
| Method Detail |
|---|
double getCostFor(Sequence s1,
Sequence s2,
int i,
int j,
Costs.Direction from)
s1(i) and
s2(j) coming from from.
s1 - the first sequences2 - the second sequencei - the index in the first sequencej - the index in the second sequencefrom - the direction within the DP-matrix
double getGapCostsFor(int length)
length.
length - the length of the gap
double getElongateCosts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||