Uses of Interface
net.bmahe.genetics4j.core.spec.selection.SelectionPolicy
Package
Description
-
Uses of SelectionPolicy in net.bmahe.genetics4j.core.selection
Modifier and TypeFieldDescriptionprivate final SelectionPolicy
DoubleTournamentSelector.selectionPolicy
private final SelectionPolicy
ProportionalTournamentSelector.selectionPolicy
private final SelectionPolicy
TournamentSelector.selectionPolicy
Modifier and TypeMethodDescriptionboolean
DoubleTournamentSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
MultiSelectionsPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
MultiTournamentsSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
ProportionalTournamentSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
RandomSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
RouletteWheelSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
SelectAllPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
SelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
TournamentSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) DoubleTournamentSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) MultiSelectionsPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) MultiTournamentsSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) ProportionalTournamentSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) RandomSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) RouletteWheelSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) SelectAllPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) SelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) SelectionPolicyHandlerResolver.resolve
(SelectionPolicy selectionPolicy) TournamentSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) ModifierConstructorDescriptionDoubleTournamentSelector
(SelectionPolicy _selectionPolicy, RandomGenerator _randomGenerator) ProportionalTournamentSelector
(SelectionPolicy _selectionPolicy, RandomGenerator _randomGenerator) TournamentSelector
(SelectionPolicy _selectionPolicy, RandomGenerator _randomGenerator) -
Uses of SelectionPolicy in net.bmahe.genetics4j.core.spec
Modifier and TypeFieldDescriptionprivate SelectionPolicy
ImmutableEAConfiguration.Builder.parentSelectionPolicy
private final SelectionPolicy
ImmutableEAConfiguration.parentSelectionPolicy
private SelectionPolicy
ImmutableEAConfigurationBulkAsync.Builder.parentSelectionPolicy
private final SelectionPolicy
ImmutableEAConfigurationBulkAsync.parentSelectionPolicy
Modifier and TypeMethodDescriptionabstract SelectionPolicy
AbstractEAConfiguration.parentSelectionPolicy()
Defines the policy to select the parents.ImmutableEAConfiguration.parentSelectionPolicy()
Defines the policy to select the parents.ImmutableEAConfigurationBulkAsync.parentSelectionPolicy()
Defines the policy to select the parents.Modifier and TypeMethodDescriptionfinal EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.parentSelectionPolicy
(SelectionPolicy parentSelectionPolicy) Initializes the value for theparentSelectionPolicy
attribute.ImmutableEAConfigurationBulkAsync.Builder.parentSelectionPolicy
(SelectionPolicy parentSelectionPolicy) Initializes the value for theparentSelectionPolicy
attribute.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withParentSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theparentSelectionPolicy
attribute.ImmutableEAConfigurationBulkAsync.withParentSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theparentSelectionPolicy
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
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 SelectionPolicy in net.bmahe.genetics4j.core.spec.replacement
Modifier and TypeFieldDescriptionprivate SelectionPolicy
ImmutableDeleteNLast.Builder.offspringSelectionPolicy
private final SelectionPolicy
ImmutableDeleteNLast.offspringSelectionPolicy
private SelectionPolicy
ImmutableElitism.Builder.offspringSelectionPolicy
private final SelectionPolicy
ImmutableElitism.offspringSelectionPolicy
private SelectionPolicy
ImmutableGenerationalReplacement.Builder.offspringSelectionPolicy
private final SelectionPolicy
ImmutableGenerationalReplacement.offspringSelectionPolicy
private SelectionPolicy
ImmutableElitism.Builder.survivorSelectionPolicy
private final SelectionPolicy
ImmutableElitism.survivorSelectionPolicy
Modifier and TypeMethodDescriptionDeleteNLast.offspringSelectionPolicy()
Describe which offsprings to select for the next generationElitism.offspringSelectionPolicy()
Returns the policy used to select offsprings for the next generation.GenerationalReplacement.offspringSelectionPolicy()
ImmutableDeleteNLast.offspringSelectionPolicy()
Describe which offsprings to select for the next generationImmutableElitism.offspringSelectionPolicy()
Returns the policy used to select offsprings for the next generation.ImmutableGenerationalReplacement.offspringSelectionPolicy()
Elitism.survivorSelectionPolicy()
Returns the policy used to select survivors for the next generation.ImmutableElitism.survivorSelectionPolicy()
Returns the policy used to select survivors for the next generation.Modifier and TypeMethodDescriptionstatic DeleteNLast
DeleteNLast.of
(double weakRatio, SelectionPolicy selectionPolicy) static ImmutableDeleteNLast
ImmutableDeleteNLast.of
(double weakRatio, SelectionPolicy offspringSelectionPolicy) Construct a new immutableDeleteNLast
instance.final DeleteNLast.Builder
ImmutableDeleteNLast.Builder.offspringSelectionPolicy
(SelectionPolicy offspringSelectionPolicy) Initializes the value for theoffspringSelectionPolicy
attribute.final Elitism.Builder
ImmutableElitism.Builder.offspringSelectionPolicy
(SelectionPolicy offspringSelectionPolicy) Initializes the value for theoffspringSelectionPolicy
attribute.ImmutableGenerationalReplacement.Builder.offspringSelectionPolicy
(SelectionPolicy offspringSelectionPolicy) Initializes the value for theoffspringSelectionPolicy
attribute.final Elitism.Builder
ImmutableElitism.Builder.survivorSelectionPolicy
(SelectionPolicy survivorSelectionPolicy) Initializes the value for thesurvivorSelectionPolicy
attribute.final ImmutableDeleteNLast
ImmutableDeleteNLast.withOffspringSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theoffspringSelectionPolicy
attribute.final ImmutableElitism
ImmutableElitism.withOffspringSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theoffspringSelectionPolicy
attribute.ImmutableGenerationalReplacement.withOffspringSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theoffspringSelectionPolicy
attribute.final ImmutableElitism
ImmutableElitism.withSurvivorSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for thesurvivorSelectionPolicy
attribute.ModifierConstructorDescriptionprivate
ImmutableDeleteNLast
(double weakRatio, SelectionPolicy offspringSelectionPolicy) private
ImmutableDeleteNLast
(ImmutableDeleteNLast original, double weakRatio, SelectionPolicy offspringSelectionPolicy) private
ImmutableElitism
(SelectionPolicy offspringSelectionPolicy, int atLeastNumOffsprings, SelectionPolicy survivorSelectionPolicy, int atLeastNumSurvivors, double offspringRatio) private
ImmutableGenerationalReplacement
(SelectionPolicy offspringSelectionPolicy) -
Uses of SelectionPolicy in net.bmahe.genetics4j.core.spec.selection
Modifier and TypeInterfaceDescriptioninterface
MultiTournaments<T extends Comparable<T>>
interface
ProportionalTournament<T extends Comparable<T>>
Modifier and TypeClassDescriptionclass
DoubleTournament<T extends Comparable<T>>
final class
ImmutableDoubleTournament<T extends Comparable<T>>
Immutable implementation ofDoubleTournament
.final class
Immutable implementation ofMultiSelections
.final class
ImmutableMultiTournaments<T extends Comparable<T>>
Immutable implementation ofMultiTournaments
.final class
ImmutableProportionalTournament<T extends Comparable<T>>
Immutable implementation ofProportionalTournament
.final class
Immutable implementation ofRandomSelection
.final class
Immutable implementation ofRouletteWheel
.final class
Immutable implementation ofSelectAll
.final class
ImmutableTournament<T extends Comparable<T>>
Immutable implementation ofTournament
.class
class
class
class
class
Tournament<T extends Comparable<T>>
Modifier and TypeFieldDescriptionprivate List
<SelectionPolicy> ImmutableMultiSelections.Builder.selectionPolicies
private final List
<SelectionPolicy> ImmutableMultiSelections.selectionPolicies
Modifier and TypeMethodDescriptionImmutableMultiSelections.selectionPolicies()
abstract List
<SelectionPolicy> MultiSelections.selectionPolicies()
Modifier and TypeMethodDescriptionImmutableMultiSelections.Builder.addSelectionPolicies
(SelectionPolicy element) Adds one element toselectionPolicies
list.ImmutableMultiSelections.Builder.addSelectionPolicies
(SelectionPolicy... elements) Adds elements toselectionPolicies
list.static MultiSelections
MultiSelections.of
(SelectionPolicy... selectionPolicies) final ImmutableMultiSelections
ImmutableMultiSelections.withSelectionPolicies
(SelectionPolicy... elements) Copy the current immutable object with elements that replace the content ofselectionPolicies
.Modifier and TypeMethodDescriptionImmutableMultiSelections.Builder.addAllSelectionPolicies
(Iterable<? extends SelectionPolicy> elements) Adds elements toselectionPolicies
list.static ImmutableMultiSelections
ImmutableMultiSelections.of
(Iterable<? extends SelectionPolicy> selectionPolicies) Construct a new immutableMultiSelections
instance.static ImmutableMultiSelections
ImmutableMultiSelections.of
(List<SelectionPolicy> selectionPolicies) Construct a new immutableMultiSelections
instance.static MultiSelections
MultiSelections.of
(List<SelectionPolicy> selectionPolicies) ImmutableMultiSelections.Builder.selectionPolicies
(Iterable<? extends SelectionPolicy> elements) Sets or replaces all elements forselectionPolicies
list.final ImmutableMultiSelections
ImmutableMultiSelections.withSelectionPolicies
(Iterable<? extends SelectionPolicy> elements) Copy the current immutable object with elements that replace the content ofselectionPolicies
.ModifierConstructorDescriptionprivate
ImmutableMultiSelections
(Iterable<? extends SelectionPolicy> selectionPolicies) private
ImmutableMultiSelections
(ImmutableMultiSelections original, List<SelectionPolicy> selectionPolicies) -
Uses of SelectionPolicy in net.bmahe.genetics4j.gpu.spec
Modifier and TypeFieldDescriptionprivate SelectionPolicy
ImmutableGPUEAConfiguration.Builder.parentSelectionPolicy
private final SelectionPolicy
ImmutableGPUEAConfiguration.parentSelectionPolicy
Modifier and TypeMethodDescriptionfinal GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.parentSelectionPolicy
(SelectionPolicy parentSelectionPolicy) Initializes the value for theparentSelectionPolicy
attribute.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withParentSelectionPolicy
(SelectionPolicy value) Copy the current immutable object by setting a value for theparentSelectionPolicy
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) -
Uses of SelectionPolicy in net.bmahe.genetics4j.moo.nsga2.impl
Modifier and TypeMethodDescriptionboolean
NSGA2SelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) boolean
TournamentNSGA2SelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) NSGA2SelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) TournamentNSGA2SelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> EASystemDescriptor, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) -
Uses of SelectionPolicy in net.bmahe.genetics4j.moo.nsga2.spec
Modifier and TypeClassDescriptionfinal class
ImmutableNSGA2Selection<T extends Comparable<T>>
Immutable implementation ofNSGA2Selection
.final class
ImmutableTournamentNSGA2Selection<T extends Comparable<T>>
Immutable implementation ofTournamentNSGA2Selection
.class
NSGA2Selection<T extends Comparable<T>>
NSGA2 Selection specificationclass
TournamentNSGA2Selection<T extends Comparable<T>>
Tournament based NSGA2 selection -
Uses of SelectionPolicy in net.bmahe.genetics4j.neat.selection
Modifier and TypeMethodDescriptionboolean
NeatSelectionPolicyHandler.canHandle
(SelectionPolicy selectionPolicy) NeatSelectionPolicyHandler.resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, SelectionPolicy selectionPolicy) -
Uses of SelectionPolicy in net.bmahe.genetics4j.neat.spec.selection
Modifier and TypeClassDescriptionfinal class
ImmutableNeatSelection<T extends Comparable<T>>
Immutable implementation ofNeatSelection
.class
NeatSelection<T extends Comparable<T>>
Modifier and TypeFieldDescriptionprivate SelectionPolicy
ImmutableNeatSelection.Builder.speciesSelection
private final SelectionPolicy
ImmutableNeatSelection.speciesSelection
Modifier and TypeMethodDescriptionImmutableNeatSelection.speciesSelection()
abstract SelectionPolicy
NeatSelection.speciesSelection()
Modifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of
(float perSpeciesKeepRatio, BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) static <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of
(BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) final NeatSelection.Builder
<T> ImmutableNeatSelection.Builder.speciesSelection
(SelectionPolicy speciesSelection) Initializes the value for thespeciesSelection
attribute.final ImmutableNeatSelection
<T> ImmutableNeatSelection.withSpeciesSelection
(SelectionPolicy value) Copy the current immutable object by setting a value for thespeciesSelection
attribute.ModifierConstructorDescriptionprivate
ImmutableNeatSelection
(float perSpeciesKeepRatio, int minSpeciesSize, BiPredicate<Individual<T>, Individual<T>> speciesPredicate, SelectionPolicy speciesSelection)