public interface Costs extends Storable
Modifier and Type | Method and Description |
---|---|
double |
getCostFor(Sequence s1,
Sequence s2,
int i,
int j)
Returns the costs for the alignment of
s1(i) and
s2(j) . |
double |
getDeleteCosts()
Returns the costs for a delete gap, i.e., a gap in the second string.
|
double |
getInsertCosts()
Returns the costs for an insert gap, i.e., a gap in the first string.
|
double getCostFor(Sequence s1, Sequence s2, int i, int j)
s1(i)
and
s2(j)
.s1
- the first sequences2
- the second sequencei
- the index in the first sequencej
- the index in the second sequenceSequence.discreteVal(int)
double getInsertCosts()
double getDeleteCosts()