Last change
on this file since 1747 was
1734,
checked in by rkrimmel, 10 years ago
|
Added automatically created javadoc, still needs to be commented properly though
|
File size:
1.6 KB
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | */ |
---|
4 | package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; |
---|
5 | |
---|
6 | // TODO: Auto-generated Javadoc |
---|
7 | /** |
---|
8 | * The Class MatrixEntry. |
---|
9 | */ |
---|
10 | public class MatrixEntry { |
---|
11 | |
---|
12 | /** The score. */ |
---|
13 | private double score; |
---|
14 | |
---|
15 | /** The previous. */ |
---|
16 | private MatrixEntry previous; |
---|
17 | |
---|
18 | /** The xvalue. */ |
---|
19 | private int xvalue; |
---|
20 | |
---|
21 | /** The yvalue. */ |
---|
22 | private int yvalue; |
---|
23 | |
---|
24 | /** |
---|
25 | * Instantiates a new matrix entry. |
---|
26 | */ |
---|
27 | public MatrixEntry() { |
---|
28 | } |
---|
29 | |
---|
30 | /** |
---|
31 | * Instantiates a new matrix entry. |
---|
32 | * |
---|
33 | * @param score the score |
---|
34 | * @param previous the previous |
---|
35 | */ |
---|
36 | public MatrixEntry(float score, MatrixEntry previous) { |
---|
37 | this.score = score; |
---|
38 | this.previous = previous; |
---|
39 | } |
---|
40 | |
---|
41 | /** |
---|
42 | * Gets the previous. |
---|
43 | * |
---|
44 | * @return the previous |
---|
45 | */ |
---|
46 | public MatrixEntry getPrevious() { |
---|
47 | return previous; |
---|
48 | } |
---|
49 | |
---|
50 | /** |
---|
51 | * Gets the score. |
---|
52 | * |
---|
53 | * @return the score |
---|
54 | */ |
---|
55 | public double getScore() { |
---|
56 | return score; |
---|
57 | } |
---|
58 | |
---|
59 | /** |
---|
60 | * Gets the xvalue. |
---|
61 | * |
---|
62 | * @return the xvalue |
---|
63 | */ |
---|
64 | public int getXvalue() { |
---|
65 | return xvalue; |
---|
66 | } |
---|
67 | |
---|
68 | /** |
---|
69 | * Gets the yvalue. |
---|
70 | * |
---|
71 | * @return the yvalue |
---|
72 | */ |
---|
73 | public int getYvalue() { |
---|
74 | return yvalue; |
---|
75 | } |
---|
76 | |
---|
77 | /** |
---|
78 | * Sets the previous. |
---|
79 | * |
---|
80 | * @param previous the new previous |
---|
81 | */ |
---|
82 | public void setPrevious(MatrixEntry previous) { |
---|
83 | this.previous = previous; |
---|
84 | } |
---|
85 | |
---|
86 | /** |
---|
87 | * Sets the score. |
---|
88 | * |
---|
89 | * @param score the new score |
---|
90 | */ |
---|
91 | public void setScore(double score) { |
---|
92 | this.score = score; |
---|
93 | } |
---|
94 | |
---|
95 | /** |
---|
96 | * Sets the xvalue. |
---|
97 | * |
---|
98 | * @param xvalue the new xvalue |
---|
99 | */ |
---|
100 | public void setXvalue(int xvalue) { |
---|
101 | this.xvalue = xvalue; |
---|
102 | } |
---|
103 | |
---|
104 | /** |
---|
105 | * Sets the yvalue. |
---|
106 | * |
---|
107 | * @param yvalue the new yvalue |
---|
108 | */ |
---|
109 | public void setYvalue(int yvalue) { |
---|
110 | this.yvalue = yvalue; |
---|
111 | } |
---|
112 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.