Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | */ |
---|
4 | package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; |
---|
5 | |
---|
6 | import java.util.Collection; |
---|
7 | import java.util.LinkedList; |
---|
8 | |
---|
9 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
---|
10 | |
---|
11 | // TODO: Auto-generated Javadoc |
---|
12 | /** |
---|
13 | * The Interface SubstitutionMatrix. |
---|
14 | */ |
---|
15 | public interface SubstitutionMatrix { |
---|
16 | |
---|
17 | /** |
---|
18 | * Generate. |
---|
19 | * |
---|
20 | * @param uniqueTasks the unique tasks |
---|
21 | */ |
---|
22 | public void generate(Collection<ITask> uniqueTasks); |
---|
23 | |
---|
24 | /** |
---|
25 | * Gets the gap penalty. |
---|
26 | * |
---|
27 | * @return the gap penalty |
---|
28 | */ |
---|
29 | public float getGapPenalty(); |
---|
30 | |
---|
31 | /** |
---|
32 | * Gets the score. |
---|
33 | * |
---|
34 | * @param pos1 the pos1 |
---|
35 | * @param pos2 the pos2 |
---|
36 | * @return the score |
---|
37 | */ |
---|
38 | public float getScore(int pos1, int pos2); |
---|
39 | |
---|
40 | /** |
---|
41 | * Update. |
---|
42 | * |
---|
43 | * @param newlyGeneratedTasks the newly generated tasks |
---|
44 | */ |
---|
45 | public void update(LinkedList<ITask> newlyGeneratedTasks); |
---|
46 | |
---|
47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.