Package net.bmahe.genetics4j.core
Interface FitnessBulkAsync<T extends Comparable<T>>
- Type Parameters:
T
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a way to evaluate the fitness of a population in an asynchronous
manner
-
Method Summary
Modifier and TypeMethodDescriptioncompute
(ExecutorService executorService, List<Genotype> genotypes) Compute the fitness of a population
-
Method Details
-
compute
Compute the fitness of a population- Parameters:
executorService
-ExecutorService
configured inEASystem
genotypes
- Population to evaluate- Returns:
- Their fitness
-