|Constructor and Description|
Creates a new fitness with the given number of objectives and a flag indicating if consider the maximum score or the minum as better.
|Modifier and Type||Method and Description|
Evaluates a single
adjust, clone, dominance, dominance, dominates, dominates, duplicate, getBiggerIsBetter, getNumOfObjectives, init, init, partialsort, partialsort, prepare, setSortingMode, sort, sort, sort, sort, sort, sort, sort, sort
objectives- numbers of objective
maximize- when true the algorithm will find solution with maximum score; false otherwise
student- the array of students that lives in the house
week- the week to evaluate
targetHours- the amount of hours student have to work
public void evaluate(Individual<ObjectChromosome> individual)
Individual. This evaluation of individuals is specifically related to the problem to solve.