Modifier and Type | Method and Description |
---|---|
void |
GeneticAlgorithm.evaluateIndividual(Individual<T> individual)
Evaluates a single individual.
|
protected void |
GeneticAlgorithm.randomizeIndividual(Individual<T> individual)
Performs an individual randomization.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TSPCrossover.cross(Individual<IntegerChromosome>[] offsprings) |
void |
RoyalGA.evaluateIndividual(Individual<BitwiseChromosome> individual) |
void |
TSPGA.evaluateIndividual(Individual<IntegerChromosome> individual) |
protected void |
TSPMutator.mutate(Individual<IntegerChromosome> t) |
protected void |
TSPGA.randomizeIndividual(Individual<IntegerChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
Individual<T> |
Individual.clone()
Returns a cloned instance of this class
|
Individual<T> |
Population.Statistics.Group.get(int i)
Return a specific
Individual that belong to group |
Individual<T> |
Population.Statistics.getIllegalHighestIndividual()
Deprecated.
|
Individual<T> |
Population.Statistics.getIllegalLowestIndividual()
Deprecated.
|
Individual<T> |
Pool.getIndividual()
Returns an
Individual from the set of available individuals. |
Individual<T> |
Population.getIndividual(int index)
Returns the individual at the specified position.
|
Individual<T> |
Population.Statistics.getLegalHighestIndividual()
Deprecated.
|
Individual<T> |
Population.Statistics.getLegalLowestIndividual()
Deprecated.
|
Individual<T> |
Population.remove(int index)
Removes the specified individual from this population.
|
Individual<T> |
Population.replace(int index,
Individual<T> individual)
Replaces the individual at the specified position with the specified
individual.
|
Individual<T> |
Population.setIndividual(Individual<T> individual,
int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Individual<T>> |
Population.getAllLegalIndividuals()
Deprecated.
|
java.util.List<Individual<K>> |
Population.Pareto.getFront(int k)
Returns a front at a specific position
|
java.util.List<Individual<T>> |
Population.getIndividuals()
Returns the (cloned) list of individuals
|
java.util.Iterator<Individual<T>> |
Population.iterator()
Returns an interator related the individuals of this population.
|
java.util.Iterator<Individual<T>> |
Population.Statistics.Group.iterator()
Returns the list of individuals that belong to group
|
java.util.Iterator<Individual<T>> |
Population.iterator(int speciem)
Returns a new
Iterator of Individual that belong to a specific speciem. |
java.util.Iterator<Individual<T>> |
Population.iterator(Population.Filter filter)
|
Modifier and Type | Method and Description |
---|---|
void |
Population.add(Individual<T> individual)
Adds an individual at the end of this population.
|
void |
Population.add(Individual<T>[] individuals)
Adds multiple individuals at the end of this population.
|
void |
Fitness.adjust(Population<C> pop,
Individual<C>[] elite)
Adjust the evaluation after elistim is applied.
|
void |
Pool.assign(Individual<T> ind)
Adds the individual given as argument to the list of assigned individuals.
|
int |
Individual.compareTo(Individual<T> ind)
Compares this individual with the specified individual.
|
static int |
Fitness.dominance(Individual<?> i1,
Individual<?> i2,
boolean... bis)
Returns a positive, negative or zero value according to dominance relation between individuals i1 and i2, given the objective flag array.
|
static int |
Fitness.dominance(Individual<?> i1,
Individual<?> i2,
boolean... bis)
Returns a positive, negative or zero value according to dominance relation between individuals i1 and i2, given the objective flag array.
|
int |
Fitness.dominance(Individual<C> i1,
Individual<C> i2)
Returns a positive, negative or zero value according to dominance relation between individuals i1 and i2
|
int |
Fitness.dominance(Individual<C> i1,
Individual<C> i2)
Returns a positive, negative or zero value according to dominance relation between individuals i1 and i2
|
static boolean |
Fitness.dominates(Individual<?> i1,
Individual<?> i2,
boolean... bis)
Checks if individuals i1 dominates i2.
|
static boolean |
Fitness.dominates(Individual<?> i1,
Individual<?> i2,
boolean... bis)
Checks if individuals i1 dominates i2.
|
boolean |
Fitness.dominates(Individual<C> i1,
Individual<C> i2)
Checks if individuals i1 dominates i2.
|
boolean |
Fitness.dominates(Individual<C> i1,
Individual<C> i2)
Checks if individuals i1 dominates i2.
|
boolean |
Individual.equals(Individual<T> ind)
Indicates whether the other individual is "equal to" this one.
|
abstract void |
Fitness.evaluate(Individual<C> individual)
Evaluates a single
Individual . |
void |
Fitness.init(Individual<C> ind)
Initializes the
Individual given as parameter by resetting its scores. |
boolean |
Population.Filter.pass(Individual<?> individual)
Check if an
Individual meets a specific criterion. |
void |
Pool.release(Individual<T> ind)
Removes the
Individual , given as argument, from the list of assigned
individuals and makes it available |
Individual<T> |
Population.replace(int index,
Individual<T> individual)
Replaces the individual at the specified position with the specified
individual.
|
void |
Individual.setAs(Individual<T> individual)
Sets this
Individual as the specified one. |
void |
Individual.setAs(Individual<T> individual,
boolean full)
Sets this
Individual 's genome equal
to the specified Individual 's one |
Individual<T> |
Population.setIndividual(Individual<T> individual,
int index)
Deprecated.
|
void |
Population.setIndividualAs(int k,
Individual<T> individual)
Sets the
Individual at the specified position equal
to the specified one
|
Modifier and Type | Method and Description |
---|---|
void |
Pool.add(java.util.Collection<Individual<T>> individuals)
Adds a collection of individuals to the pool.
|
void |
Population.add(java.util.List<Individual<T>> individuals)
Adds the list of individuals at the end of this population.
|
void |
Fitness.partialsort(java.util.List<Individual<C>> list,
int dim)
Sorts the list of
Individual given as argument. |
static <K extends Chromosome> |
Fitness.partialsort(java.util.List<Individual<K>> list,
int dim,
boolean bib)
Sorts the list of
Individual given as argument. |
void |
Pool.remove(java.util.Collection<Individual<T>> individuals)
Removes the collection of individuals given as argument from the list of
available individuals and from the list of assigned individuals
|
void |
Population.reset(java.util.List<Individual> list,
boolean sorted)
Reset the individuals belonging to this population
|
void |
Fitness.sort(Fitness.SortingMode mode,
java.util.List<Individual<C>> list)
Sorts the list of individuals given as argument using the
Fitness.SortingMode
given as argument
|
static <K extends Chromosome> |
Fitness.sort(Fitness.SortingMode sortingMode,
java.util.List<Individual<K>> list,
boolean... bis)
Sorts the list given as argument using the
Fitness.SortingMode
and the array given as arguments. |
void |
Fitness.sort(java.util.List<Individual<C>> list)
Sorts the list of individuals given as argument
|
static <K extends Chromosome> |
Fitness.sort(java.util.List<Individual<K>> list,
boolean... bis)
Sorts the list given as argument using the array given as
argument.
|
Constructor and Description |
---|
Individual(Individual<T> ind)
Constructs a new
Individual as a copy of another Individual . |
Pool(int n,
Individual<T> sample)
Constructs a new pool with a given number of individuals, clones of sample.
|
Population(Individual<T> sample)
Constructs a new population by cloning the individual sample.
|
Population(Individual<T> sample,
int size)
Constructs a new population by cloning the individual sample
and specifying the initial size.
|
Constructor and Description |
---|
Population.Pareto(java.util.List<Individual<K>> list,
boolean... bis)
Builds a new pareto front.
|
Population(java.util.List<Individual<T>> individuals)
Constructs a new population with the specified list of individuals
|
Modifier and Type | Method and Description |
---|---|
abstract int |
ExclusiveDispenser.distribute(Individual<T> ind)
Returns the branch number where to add the specified individual.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Individual<T> |
Selector.select(java.util.List<Individual<T>> pop)
Selects an individual in the filtered population
|
Individual<T> |
Selector.select(Population<T> pop)
Selects an individual in the population
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
Crossover.cross(Individual<T>[] offsprings)
Executes the crossover.
|
protected abstract void |
Mutator.mutate(Individual<T> t)
Mutates a single individual.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Individual<T> |
Selector.select(java.util.List<Individual<T>> pop)
Selects an individual in the filtered population
|
Modifier and Type | Method and Description |
---|---|
protected Individual<T> |
RouletteWheelSelector.select(java.util.List<Individual<T>> list) |
protected Individual<T> |
TournamentSelector.select(java.util.List<Individual<T>> list) |
Modifier and Type | Method and Description |
---|---|
protected void |
HeuristicCrossover.cross(Individual<T>[] offsprings) |
protected void |
IntermediateCrossover.cross(Individual<T>[] offsprings) |
protected void |
OnePointCrossover.cross(Individual<T>[] offsprings) |
protected void |
TwoPointsCrossover.cross(Individual<T>[] offsprings) |
protected void |
SimpleMutator.mutate(Individual<T> ind) |
Modifier and Type | Method and Description |
---|---|
protected Individual<T> |
RouletteWheelSelector.select(java.util.List<Individual<T>> list) |
protected Individual<T> |
TournamentSelector.select(java.util.List<Individual<T>> list) |
Modifier and Type | Method and Description |
---|---|
int |
SimpleDispenser.distribute(Individual<T> ind) |
void |
PatternGA.evaluateIndividual(Individual<IntegerChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
protected void |
TSPCityCenteredCrossover.cross(Individual<IntegerChromosome>[] offsprings)
This method implements the crossover operation.
|
void |
TSPGA.evaluateIndividual(Individual<IntegerChromosome> individual) |
protected void |
TSPScrambleMutator.mutate(Individual<IntegerChromosome> t) |
protected void |
TSPGA.randomizeIndividual(Individual<IntegerChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
KnapsackGA.evaluateIndividual(Individual<BooleanChromosome> individual) |
double |
KnapsackGA.getUtilityOf(Individual<BooleanChromosome> individual) |
double |
KnapsackGA.getWeightOf(Individual<BooleanChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
FitnessFunction.evaluate(Individual<DoubleChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
ImageMatchingFitness.evaluate(Individual<BitwiseChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
MultiObjectiveProblem.ProblemFitness.evaluate(Individual<BitwiseChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
WeekFitness.evaluate(Individual<ObjectChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
int |
SimpleDispenser.distribute(Individual<T> ind) |
void |
PatternGA.PatternFitness.evaluate(Individual<IntegerChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
protected void |
TSPCityCenteredCrossover.cross(Individual<IntegerChromosome>[] offsprings)
This method implements the crossover operation.
|
void |
TSPGA.TSPFitness.evaluate(Individual<IntegerChromosome> individual) |
protected void |
TSPScrambleMutator.mutate(Individual<IntegerChromosome> t) |
protected void |
TSPGA.randomizeIndividual(Individual<IntegerChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
EntropyFitness.evaluate(Individual<DoubleChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
double |
KnapsackGA.getUtilityOf(Individual<BooleanChromosome> individual) |
double |
KnapsackGA.getWeightOf(Individual<BooleanChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
static double |
NumericCrossover.serror(Individual ind) |
Modifier and Type | Method and Description |
---|---|
void |
FitnessFunction.evaluate(Individual<DoubleChromosome> individual) |
Modifier and Type | Method and Description |
---|---|
void |
MultiThreadEvaluator.evaluateIndividual(Individual individual) |
abstract void |
Runner.evaluateIndividual(Individual individual)
Call-back invoked in substitution to
GeneticAlgorithm.evaluateIndividual(jenes.population.Individual) |