ee.ut.ga.business
Class FitnessFunction

java.lang.Object
  extended byee.ut.ga.business.FitnessFunction

public class FitnessFunction
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger log
           
 
Constructor Summary
FitnessFunction()
           
 
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
 

Field Detail

log

public static org.apache.log4j.Logger log
Constructor Detail

FitnessFunction

public FitnessFunction()
Method Detail

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