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

Added automatically created javadoc, still needs to be commented properly though

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