ee.ut.ga.model
Class PWM
java.lang.Object
ee.ut.ga.model.PWM
- All Implemented Interfaces:
- java.lang.Comparable
- public class PWM
- extends java.lang.Object
- implements java.lang.Comparable
Position-WeightMatrix object. Comparable by fitness function quality.
|
Field Summary |
static org.apache.log4j.Logger |
log
|
|
Constructor Summary |
PWM(java.util.Map pam,
java.util.Map priors)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
public static org.apache.log4j.Logger log
PWM
public PWM(java.util.Map pam,
java.util.Map priors)
throws java.lang.Exception
getDataBad
public int getDataBad()
setDataBad
public void setDataBad(int dataBad)
getDataBadAll
public int getDataBadAll()
setDataBadAll
public void setDataBadAll(int dataBadAll)
getDataGood
public int getDataGood()
setDataGood
public void setDataGood(int dataGood)
getDataGoodAll
public int getDataGoodAll()
setDataGoodAll
public void setDataGoodAll(int dataGoodAll)
getWeightThreshold
public double getWeightThreshold()
setWeightThreshold
public void setWeightThreshold(double weightThreshold)
setFitness
public void setFitness(java.math.BigDecimal fitness)
getPattern
public java.lang.String getPattern()
getLength
public int getLength()
getPam
public java.util.Map getPam()
getPwm
public java.util.Map getPwm()
getFitness
public java.math.BigDecimal getFitness()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
toString
public java.lang.String toString()
setPwmProps
public void setPwmProps(java.lang.String propsString)
- Reads and writes properties into object.