source:
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/DummySubstitutionMatrix.java
@
1668
Last change on this file since 1668 was 1649, checked in by rkrimmel, 10 years ago | |
---|---|
File size: 355 bytes |
Line | |
---|---|
1 | package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; |
2 | |
3 | public class DummySubstitutionMatrix implements SubstitutionMatrix { |
4 | |
5 | @Override |
6 | public double getScore(int pos1, int pos2) { |
7 | if(pos1==pos2) { |
8 | return 1; |
9 | } |
10 | else { |
11 | return 0; |
12 | } |
13 | } |
14 | |
15 | @Override |
16 | public double getGapPenalty() { |
17 | return -1; |
18 | } |
19 | |
20 | @Override |
21 | public void generate() { |
22 | } |
23 | |
24 | } |
Note: See TracBrowser
for help on using the repository browser.