ee.ut.ga.business
Class FitnessFunction
java.lang.Object
ee.ut.ga.business.FitnessFunction
- public class FitnessFunction
- extends java.lang.Object
|
Field Summary |
static org.apache.log4j.Logger |
log
|
|
Method Summary |
static java.util.List |
calculateAllWeights(java.util.Map data,
PWM pwm)
Calculates all weights for specified Position-Weight-Matrix in given data. |
static void |
setFitnessValue(java.util.Map data,
PWM pwm,
int GOOD_ALL,
java.lang.String FITNESS_FUNCTION)
Counts fitness value of specified PWM in given data. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static org.apache.log4j.Logger log
FitnessFunction
public FitnessFunction()
setFitnessValue
public static void setFitnessValue(java.util.Map data,
PWM pwm,
int GOOD_ALL,
java.lang.String FITNESS_FUNCTION)
- Counts fitness value of specified
PWM in given data. Fitness value counts with the help of pValue.
Larger result means that PWM suits better to the final result of the project.
calculateAllWeights
public static java.util.List calculateAllWeights(java.util.Map data,
PWM pwm)
- Calculates all weights for specified Position-Weight-Matrix in given data.
- Returns:
List of Weight