source:
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/matrix/SubstitutionMatrix.java
@
1734
Last change on this file since 1734 was 1734, checked in by rkrimmel, 10 years ago | |
---|---|
File size: 812 bytes |
Rev | Line | |
---|---|---|
[1734] | 1 | /* |
2 | * | |
3 | */ | |
[1572] | 4 | package de.ugoe.cs.autoquest.tasktrees.alignment.matrix; |
[1314] | 5 | |
[1698] | 6 | import java.util.HashSet; |
7 | import java.util.LinkedList; | |
[1324] | 8 | |
[1698] | 9 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
[1324] | 10 | |
[1734] | 11 | // TODO: Auto-generated Javadoc |
12 | /** | |
13 | * The Interface SubstitutionMatrix. | |
14 | */ | |
[1733] | 15 | public interface SubstitutionMatrix { |
[1698] | 16 | |
[1734] | 17 | /** |
18 | * Generate. | |
19 | * | |
20 | * @param uniqueTasks the unique tasks | |
21 | */ | |
[1733] | 22 | public void generate(HashSet<ITask> uniqueTasks); |
[1698] | 23 | |
[1734] | 24 | /** |
25 | * Gets the gap penalty. | |
26 | * | |
27 | * @return the gap penalty | |
28 | */ | |
[1733] | 29 | public float getGapPenalty(); |
[1314] | 30 | |
[1734] | 31 | /** |
32 | * Gets the score. | |
33 | * | |
34 | * @param pos1 the pos1 | |
35 | * @param pos2 the pos2 | |
36 | * @return the score | |
37 | */ | |
[1702] | 38 | public float getScore(int pos1, int pos2); |
[1314] | 39 | |
[1734] | 40 | /** |
41 | * Update. | |
42 | * | |
43 | * @param newlyGeneratedTasks the newly generated tasks | |
44 | */ | |
[1698] | 45 | public void update(LinkedList<ITask> newlyGeneratedTasks); |
[1554] | 46 | |
[1314] | 47 | } |
Note: See TracBrowser
for help on using the repository browser.