source: branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/AlignmentAlgorithm.java

Last change on this file 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 */
4package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms;
5
6import java.util.ArrayList;
7
8import de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix;
9
10// TODO: Auto-generated Javadoc
11/**
12 * The Interface AlignmentAlgorithm.
13 */
14public interface AlignmentAlgorithm {
15
16        /**
17         * Align.
18         *
19         * @param input1 the input1
20         * @param input2 the input2
21         * @param submat the submat
22         * @param threshold the threshold
23         */
24        void align(NumberSequence input1, NumberSequence input2,
25                        SubstitutionMatrix submat, float threshold);
26
27        /**
28         * Gets the alignment.
29         *
30         * @return the alignment
31         */
32        public abstract ArrayList<NumberSequence> getAlignment();
33
34        /**
35         * Get the alignment score between the two input strings.
36         *
37         * @return the alignment score
38         */
39        public abstract double getAlignmentScore();
40
41        /**
42         * Gets the matches.
43         *
44         * @return the matches
45         */
46        public abstract ArrayList<Match> getMatches();
47
48        /**
49         * Gets the max score.
50         *
51         * @return the max score
52         */
53        public double getMaxScore();
54
55        /**
56         * Prints the alignment.
57         */
58        public abstract void printAlignment();
59
60        /**
61         * Prints the dp matrix.
62         */
63        public abstract void printDPMatrix();
64
65}
Note: See TracBrowser for help on using the repository browser.