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