Uses of Class
net.bmahe.genetics4j.core.Population
Package
Description
-
Uses of Population in net.bmahe.genetics4j.core
Modifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
Population<U> Population.empty()
static <U extends Comparable<U>>
Population<U> static <U extends Comparable<U>>
Population<U> Population.of
(List<Individual<U>> individuals) Modifier and TypeMethodDescriptionvoid
Population.addAll
(Population<T> population) EASystem.combineParents
(Population<T> parents, GenotypeCombinator genotypeCombinator) EASystem.createBasicOffsprings
(Population<T> population, int offspringsNeeded) Create offsprings without mutationEASystem.createOffsprings
(Population<T> population, int offspringsNeeded) -
Uses of Population in net.bmahe.genetics4j.core.postevaluationprocess
-
Uses of Population in net.bmahe.genetics4j.core.replacement
Modifier and TypeMethodDescriptionDeleteNLastImpl.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) ElitismImpl.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) GenerationalReplacementImpl.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) ReplacementStrategyImplementor.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) -
Uses of Population in net.bmahe.genetics4j.core.selection
Modifier and TypeMethodDescriptionDoubleTournamentSelector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) ProportionalTournamentSelector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) Selector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) TournamentSelector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) -
Uses of Population in net.bmahe.genetics4j.core.spec
Modifier and TypeFieldDescriptionprivate Function
<Population<T>, Population<T>> ImmutableEAConfiguration.Builder.postEvaluationProcessor
private Function
<Population<T>, Population<T>> ImmutableEAConfiguration.Builder.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableEAConfiguration.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableEAConfiguration.postEvaluationProcessor
private Function
<Population<T>, Population<T>> ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
private Function
<Population<T>, Population<T>> ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableEAConfigurationBulkAsync.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableEAConfigurationBulkAsync.postEvaluationProcessor
Modifier and TypeMethodDescriptionabstract Optional
<Function<Population<T>, Population<T>>> AbstractEAConfiguration.postEvaluationProcessor()
Post-processing of a population after it got evaluatedabstract Optional
<Function<Population<T>, Population<T>>> AbstractEAConfiguration.postEvaluationProcessor()
Post-processing of a population after it got evaluatedImmutableEAConfiguration.postEvaluationProcessor()
Post-processing of a population after it got evaluatedImmutableEAConfiguration.postEvaluationProcessor()
Post-processing of a population after it got evaluatedImmutableEAConfigurationBulkAsync.postEvaluationProcessor()
Post-processing of a population after it got evaluatedImmutableEAConfigurationBulkAsync.postEvaluationProcessor()
Post-processing of a population after it got evaluatedModifier and TypeMethodDescriptionfinal EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.ImmutableEAConfigurationBulkAsync.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.ImmutableEAConfigurationBulkAsync.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.ImmutableEAConfigurationBulkAsync.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.ImmutableEAConfigurationBulkAsync.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.ImmutableEAConfigurationBulkAsync.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.ModifierConstructorDescriptionprivate
ImmutableEAConfiguration
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, Fitness<T> fitness) private
ImmutableEAConfiguration
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, Fitness<T> fitness) private
ImmutableEAConfigurationBulkAsync
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, FitnessBulkAsync<T> fitness) private
ImmutableEAConfigurationBulkAsync
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, FitnessBulkAsync<T> fitness) -
Uses of Population in net.bmahe.genetics4j.gp.postevaluationprocess
-
Uses of Population in net.bmahe.genetics4j.gpu.spec
Modifier and TypeFieldDescriptionprivate Function
<Population<T>, Population<T>> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
private Function
<Population<T>, Population<T>> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableGPUEAConfiguration.postEvaluationProcessor
private final Function
<Population<T>, Population<T>> ImmutableGPUEAConfiguration.postEvaluationProcessor
Modifier and TypeMethodDescriptionImmutableGPUEAConfiguration.postEvaluationProcessor()
ImmutableGPUEAConfiguration.postEvaluationProcessor()
Modifier and TypeMethodDescriptionfinal GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
(Function<Population<T>, Population<T>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.postEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> postEvaluationProcessor) Initializes the optional valuepostEvaluationProcessor
to postEvaluationProcessor.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withPostEvaluationProcessor
(Function<Population<T>, Population<T>> value) Copy the current immutable object by setting a present value for the optionalpostEvaluationProcessor
attribute.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withPostEvaluationProcessor
(Optional<? extends Function<Population<T>, Population<T>>> optional) Copy the current immutable object by setting an optional value for thepostEvaluationProcessor
attribute.ModifierConstructorDescriptionprivate
ImmutableGPUEAConfiguration
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, Program program, OpenCLFitness<T> fitness) private
ImmutableGPUEAConfiguration
(List<ChromosomeSpec> chromosomeSpecs, SelectionPolicy parentSelectionPolicy, CombinationPolicy combinationPolicy, List<MutationPolicy> mutationPolicies, ReplacementStrategy replacementStrategy, Function<Population<T>, Population<T>> postEvaluationProcessor, Termination<T> termination, Supplier<Genotype> genotypeGenerator, Collection<Genotype> seedPopulation, GenotypeCombinator genotypeCombinator, double offspringGeneratedRatio, Optimization optimization, Program program, OpenCLFitness<T> fitness) -
Uses of Population in net.bmahe.genetics4j.moo.nsga2.impl
Modifier and TypeMethodDescriptionNSGA2Selector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) TournamentNSGA2Selector.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) -
Uses of Population in net.bmahe.genetics4j.moo.spea2.replacement
Modifier and TypeMethodDescriptionSPEA2ReplacementStrategyImplementor.select
(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) Modifier and TypeMethodDescriptionSPEA2ReplacementStrategyImplementor.computeAdditionalIndividuals
(Set<Integer> selectedIndex, double[] rawFitness, Population<T> population, int numIndividuals) protected double[]
SPEA2ReplacementStrategyImplementor.computeDensity
(List<List<org.apache.commons.lang3.tuple.Pair<Integer, Double>>> distances, int k, Population<T> population) protected double[]
SPEA2ReplacementStrategyImplementor.computeFinalFitness
(double[] rawFitness, double[] density, Population<T> population) protected double[][]
SPEA2ReplacementStrategyImplementor.computeObjectiveDistances
(BiFunction<T, T, Double> distance, Population<T> population) protected double[]
SPEA2ReplacementStrategyImplementor.computeRawFitness
(Comparator<T> dominance, double[] strengths, Population<T> population) SPEA2ReplacementStrategyImplementor.computeSortedDistances
(double[][] distanceObjectives, Population<T> population) protected double[]
SPEA2ReplacementStrategyImplementor.computeStrength
(Comparator<T> dominance, Population<T> population) SPEA2ReplacementStrategyImplementor.environmentalSelection
(List<List<org.apache.commons.lang3.tuple.Pair<Integer, Double>>> distances, double[] rawFitness, double[] finalFitness, Population<T> population, int numIndividuals) static <T extends Comparable<T>>
List<org.apache.commons.lang3.tuple.Pair<Integer, Double>> SPEA2Utils.kthDistances
(double[][] distanceObjectives, int index, T fitness, Population<T> combinedPopulation) static <T extends Comparable<T>>
intSPEA2Utils.rawFitness
(Comparator<T> dominance, double[] strengths, int index, T fitness, Population<T> population) static <T extends Comparable<T>>
intSPEA2Utils.strength
(Comparator<T> dominance, int index, T fitness, Population<T> population) protected void
SPEA2ReplacementStrategyImplementor.truncatePopulation
(List<List<org.apache.commons.lang3.tuple.Pair<Integer, Double>>> distances, Population<T> population, int numIndividuals, Set<Integer> selectedIndex) -
Uses of Population in net.bmahe.genetics4j.neat
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
List<Species<T>> NeatUtils.speciate
(RandomGenerator random, SpeciesIdGenerator speciesIdGenerator, List<Species<T>> seedSpecies, Population<T> population, BiPredicate<Individual<T>, Individual<T>> speciesPredicate) -
Uses of Population in net.bmahe.genetics4j.neat.selection