ee.ut.ga.model
Class Weight

java.lang.Object
  extended byee.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)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 int getDataRow()
           
 int getDataRowPosition()
           
 double getWeight()
           
 void setDataRow(int gene)
           
 void setDataRowPosition(int position)
           
 void setWeight(double weight)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Weight

public Weight(int dataRow,
              int dataRowPosition,
              double weight)
Method Detail

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