K
- extends Chromosome
public static class Population.Pareto<K extends Chromosome>
extends java.lang.Object
Constructor and Description |
---|
Population.Pareto(java.util.List<Individual<K>> list,
boolean... bis)
Builds a new pareto front.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Individual<K>> |
getFront(int k)
Returns a front at a specific position
|
int |
getNumOfFronts()
Returns the number of fronts
|
public Population.Pareto(java.util.List<Individual<K>> list, boolean... bis)
list
- list of individuals that make the pareto frontbis
- flag that indicates if maximize or minimize the score. A flag for each objective.public int getNumOfFronts()
public java.util.List<Individual<K>> getFront(int k)
k
- index of frontk