Rev | Line | |
---|
[1649] | 1 | package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; |
---|
| 2 | |
---|
[1698] | 3 | import java.util.HashSet; |
---|
| 4 | import java.util.LinkedList; |
---|
| 5 | |
---|
| 6 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
---|
| 7 | |
---|
[1649] | 8 | public class DummySubstitutionMatrix implements SubstitutionMatrix { |
---|
| 9 | |
---|
| 10 | @Override |
---|
[1733] | 11 | public void generate(HashSet<ITask> uniqueTasks) { |
---|
[1649] | 12 | } |
---|
| 13 | |
---|
| 14 | @Override |
---|
[1702] | 15 | public float getGapPenalty() { |
---|
[1649] | 16 | return -1; |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | @Override |
---|
[1733] | 20 | public float getScore(int pos1, int pos2) { |
---|
| 21 | if (pos1 == pos2) { |
---|
| 22 | return 1; |
---|
| 23 | } else { |
---|
| 24 | return 0; |
---|
| 25 | } |
---|
[1649] | 26 | } |
---|
| 27 | |
---|
[1698] | 28 | @Override |
---|
| 29 | public void update(LinkedList<ITask> newlyGeneratedTasks) { |
---|
| 30 | // TODO Auto-generated method stub |
---|
[1733] | 31 | |
---|
[1698] | 32 | } |
---|
| 33 | |
---|
[1649] | 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.