Last change
on this file since 1747 was
1734,
checked in by rkrimmel, 10 years ago
|
Added automatically created javadoc, still needs to be commented properly though
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | */ |
---|
4 | package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; |
---|
5 | |
---|
6 | import java.util.HashSet; |
---|
7 | import java.util.LinkedList; |
---|
8 | |
---|
9 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
---|
10 | |
---|
11 | // TODO: Auto-generated Javadoc |
---|
12 | /** |
---|
13 | * The Class DummySubstitutionMatrix. |
---|
14 | */ |
---|
15 | public class DummySubstitutionMatrix implements SubstitutionMatrix { |
---|
16 | |
---|
17 | /* (non-Javadoc) |
---|
18 | * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#generate(java.util.HashSet) |
---|
19 | */ |
---|
20 | @Override |
---|
21 | public void generate(HashSet<ITask> uniqueTasks) { |
---|
22 | } |
---|
23 | |
---|
24 | /* (non-Javadoc) |
---|
25 | * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#getGapPenalty() |
---|
26 | */ |
---|
27 | @Override |
---|
28 | public float getGapPenalty() { |
---|
29 | return -1; |
---|
30 | } |
---|
31 | |
---|
32 | /* (non-Javadoc) |
---|
33 | * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#getScore(int, int) |
---|
34 | */ |
---|
35 | @Override |
---|
36 | public float getScore(int pos1, int pos2) { |
---|
37 | if (pos1 == pos2) { |
---|
38 | return 1; |
---|
39 | } else { |
---|
40 | return 0; |
---|
41 | } |
---|
42 | } |
---|
43 | |
---|
44 | /* (non-Javadoc) |
---|
45 | * @see de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix#update(java.util.LinkedList) |
---|
46 | */ |
---|
47 | @Override |
---|
48 | public void update(LinkedList<ITask> newlyGeneratedTasks) { |
---|
49 | // TODO Auto-generated method stub |
---|
50 | |
---|
51 | } |
---|
52 | |
---|
53 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.