Last change
on this file since 1612 was
1612,
checked in by rkrimmel, 10 years ago
|
Removed parameters from alignmentalgorihm factory constructor and changed interface by adding a new align() method, which now gets all the data via parameter
|
File size:
634 bytes
|
Rev | Line | |
---|
[1586] | 1 | package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; |
---|
| 2 | |
---|
| 3 | import java.util.ArrayList; |
---|
| 4 | |
---|
[1612] | 5 | import de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix; |
---|
| 6 | |
---|
[1586] | 7 | public interface AlignmentAlgorithm { |
---|
| 8 | |
---|
[1612] | 9 | public abstract void align(int[] input1, int[] input2, SubstitutionMatrix submat,float threshold); |
---|
| 10 | |
---|
[1586] | 11 | /** |
---|
| 12 | * Get the alignment score between the two input strings. |
---|
| 13 | */ |
---|
| 14 | public abstract double getAlignmentScore(); |
---|
| 15 | |
---|
| 16 | public abstract ArrayList<NumberSequence> getAlignment(); |
---|
| 17 | |
---|
[1587] | 18 | public abstract void printDPMatrix(); |
---|
| 19 | |
---|
| 20 | public abstract void printAlignment(); |
---|
| 21 | |
---|
[1592] | 22 | public abstract ArrayList<ArrayList<NumberSequence>> getMatches(); |
---|
| 23 | |
---|
[1586] | 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.