Class EvolutionListenerLogTopN<T extends Comparable<T>>

java.lang.Object
net.bmahe.genetics4j.core.evolutionlisteners.EvolutionListenerLogTopN<T>
All Implemented Interfaces:
EvolutionListener<T>

public class EvolutionListenerLogTopN<T extends Comparable<T>> extends Object implements EvolutionListener<T>
  • Field Details

    • logger

      private final org.apache.logging.log4j.Logger logger
    • topN

      private final int topN
    • skipN

      private final int skipN
    • comparator

      private final Comparator<T extends Comparable<T>> comparator
    • prettyPrinter

      private Function<Genotype,String> prettyPrinter
  • Constructor Details

    • EvolutionListenerLogTopN

      public EvolutionListenerLogTopN(org.apache.logging.log4j.Logger _logger, int _topN, int _skipN, Comparator<T> _comparator, Function<Genotype,String> _prettyPrinter)
    • EvolutionListenerLogTopN

      public EvolutionListenerLogTopN(org.apache.logging.log4j.Logger _logger, int _topN, int _skipN)
  • Method Details