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

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