Uses of Interface
net.bmahe.genetics4j.core.termination.Termination
Package
Description
-
Uses of Termination in net.bmahe.genetics4j.core.spec
Modifier and TypeFieldDescriptionprivate Termination
<T> ImmutableEAConfiguration.Builder.termination
private final Termination
<T> ImmutableEAConfiguration.termination
private Termination
<T> ImmutableEAConfigurationBulkAsync.Builder.termination
private final Termination
<T> ImmutableEAConfigurationBulkAsync.termination
Modifier and TypeMethodDescriptionabstract Termination
<T> AbstractEAConfiguration.termination()
Defines termination conditionImmutableEAConfiguration.termination()
Defines termination conditionImmutableEAConfigurationBulkAsync.termination()
Defines termination conditionModifier and TypeMethodDescriptionfinal EAConfiguration.Builder
<T> ImmutableEAConfiguration.Builder.termination
(Termination<T> termination) Initializes the value for thetermination
attribute.ImmutableEAConfigurationBulkAsync.Builder.termination
(Termination<T> termination) Initializes the value for thetermination
attribute.final ImmutableEAConfiguration
<T> ImmutableEAConfiguration.withTermination
(Termination<T> value) Copy the current immutable object by setting a value for thetermination
attribute.ImmutableEAConfigurationBulkAsync.withTermination
(Termination<T> value) Copy the current immutable object by setting a value for thetermination
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 Termination in net.bmahe.genetics4j.core.termination
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
Termination<T> Terminations.and
(Termination<T>... terminations) static <T extends Comparable<T>>
Termination<T> Terminations.ofFitnessAtLeast
(T threshold) static <T extends Comparable<T>>
Termination<T> Terminations.ofFitnessAtMost
(T threshold) static <T extends Comparable<T>>
Termination<T> Terminations.ofMaxGeneration
(long maxGeneration) static <T extends Comparable<T>>
Termination<T> static <T extends Comparable<T>>
Termination<T> Terminations.ofStableFitness
(int stableGenerationsCount) Will terminate if the fitness does not improve over a specified number of generationsstatic <T extends Comparable<T>>
Termination<T> Terminations.or
(Termination<T>... terminations) Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
Termination<T> Terminations.and
(Termination<T>... terminations) static <T extends Comparable<T>>
Termination<T> Terminations.or
(Termination<T>... terminations) -
Uses of Termination in net.bmahe.genetics4j.gpu.spec
Modifier and TypeFieldDescriptionprivate Termination
<T> ImmutableGPUEAConfiguration.Builder.termination
private final Termination
<T> ImmutableGPUEAConfiguration.termination
Modifier and TypeMethodDescriptionfinal GPUEAConfiguration.Builder
<T> ImmutableGPUEAConfiguration.Builder.termination
(Termination<T> termination) Initializes the value for thetermination
attribute.final ImmutableGPUEAConfiguration
<T> ImmutableGPUEAConfiguration.withTermination
(Termination<T> value) Copy the current immutable object by setting a value for thetermination
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 Termination in net.bmahe.genetics4j.samples.clustering
Modifier and TypeMethodDescriptionstatic void
Clustering.doGA
(int k, double min, double max, int numberTournaments, int combinationArithmetic, int combinationCrossover, double randomMutationRate, double creepMutationRate, double creepMutationMean, double creepMutationStdDev, Fitness<Double> fitnessFunction, Termination<Double> terminations, int populationSize, String outputCSV, double[][] data, double[][] distances, String baseDir, String filenameSuffix)