Class SimpleEvolutionListener<T extends Number>
java.lang.Object
net.bmahe.genetics4j.core.evolutionlisteners.SimpleEvolutionListener<T>
- All Implemented Interfaces:
EvolutionListener<T>
public class SimpleEvolutionListener<T extends Number>
extends Object
implements EvolutionListener<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEvolution
(long generation, List<Genotype> population, List<T> fitness, boolean isDone)
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
SimpleEvolutionListener
public SimpleEvolutionListener()
-
-
Method Details
-
onEvolution
public void onEvolution(long generation, List<Genotype> population, List<T> fitness, boolean isDone) - Specified by:
onEvolution
in interfaceEvolutionListener<T extends Number>
-