ee.ut.ga.model
Class Weight
java.lang.Object
ee.ut.ga.model.Weight
- All Implemented Interfaces:
- java.lang.Comparable
- public class Weight
- extends java.lang.Object
- implements java.lang.Comparable
Keeps the motif scoring value for a motif starting in the specified row at specified position.
Comparable by weight.
- Author:
- Anton Stalnuhhin (a30858@math.ut.ee)
|
Constructor Summary |
Weight(int dataRow,
int dataRowPosition,
double weight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dataRow
private int dataRow
dataRowPosition
private int dataRowPosition
weight
private double weight
Weight
public Weight(int dataRow,
int dataRowPosition,
double weight)
getDataRow
public int getDataRow()
setDataRow
public void setDataRow(int gene)
getDataRowPosition
public int getDataRowPosition()
setDataRowPosition
public void setDataRowPosition(int position)
getWeight
public double getWeight()
setWeight
public void setWeight(double weight)
toString
public java.lang.String toString()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable