|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.algorithm.fitness.FitnessUtil
public class FitnessUtil
The class FitnessUtil contains methods for performing fitness
statistical operations over individuals. This operations could be mean fitness
value of an individuals' list, etc.
Note: This class use the StatUtils
class.
This class providesa a lot of statistical methods.
Constructor Summary | |
---|---|
FitnessUtil()
|
Method Summary | |
---|---|
private static double[] |
getArrayFitness(java.util.List<Individual> individuals)
This method receive a list of individuals and return an array containing the fitness value of each individual. |
static double |
meanFitnessValue(java.util.List<Individual> individuals)
This method recive a list of individuals and return the mean fitness value. |
static double |
sumFitnessValue(java.util.List<Individual> individuals)
This method recive a list of individuals and return the sum fitness value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FitnessUtil()
Method Detail |
---|
public static double meanFitnessValue(java.util.List<Individual> individuals)
individuals
- a list of individuals to which we will compute the
mean fitness value.
public static double sumFitnessValue(java.util.List<Individual> individuals)
individuals
- a list of individuals to which we will compute the
sum of the fitness value.
private static double[] getArrayFitness(java.util.List<Individual> individuals)
individuals
- a list of individuals.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |