Last change
on this file since 1616 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
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; |
---|
2 | |
---|
3 | import java.util.ArrayList; |
---|
4 | |
---|
5 | import de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix; |
---|
6 | |
---|
7 | public interface AlignmentAlgorithm { |
---|
8 | |
---|
9 | public abstract void align(int[] input1, int[] input2, SubstitutionMatrix submat,float threshold); |
---|
10 | |
---|
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 | |
---|
18 | public abstract void printDPMatrix(); |
---|
19 | |
---|
20 | public abstract void printAlignment(); |
---|
21 | |
---|
22 | public abstract ArrayList<ArrayList<NumberSequence>> getMatches(); |
---|
23 | |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.