Last change
on this file since 1578 was
1568,
checked in by rkrimmel, 10 years ago
|
Building distance matrix between sequences
|
File size:
801 bytes
|
Rev | Line | |
---|
[1558] | 1 | package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; |
---|
| 2 | |
---|
| 3 | public class MatrixEntry { |
---|
[1568] | 4 | private double score; |
---|
[1558] | 5 | private MatrixEntry previous; |
---|
[1559] | 6 | private int xvalue; |
---|
| 7 | private int yvalue; |
---|
[1558] | 8 | |
---|
| 9 | public MatrixEntry(float score, MatrixEntry previous) { |
---|
| 10 | this.score = score; |
---|
| 11 | this.previous = previous; |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | public MatrixEntry() { |
---|
| 15 | } |
---|
| 16 | |
---|
[1568] | 17 | public double getScore() { |
---|
[1558] | 18 | return score; |
---|
| 19 | } |
---|
[1568] | 20 | public void setScore(double score) { |
---|
[1558] | 21 | this.score = score; |
---|
| 22 | } |
---|
| 23 | public MatrixEntry getPrevious() { |
---|
| 24 | return previous; |
---|
| 25 | } |
---|
| 26 | public void setPrevious(MatrixEntry previous) { |
---|
| 27 | this.previous = previous; |
---|
| 28 | } |
---|
[1559] | 29 | |
---|
| 30 | public int getXvalue() { |
---|
| 31 | return xvalue; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | public void setXvalue(int xvalue) { |
---|
| 35 | this.xvalue = xvalue; |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | public int getYvalue() { |
---|
| 39 | return yvalue; |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | public void setYvalue(int yvalue) { |
---|
| 43 | this.yvalue = yvalue; |
---|
| 44 | } |
---|
[1558] | 45 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.