Skip to content
Snippets Groups Projects
Commit 67e91241 authored by Lennart Eichhorn's avatar Lennart Eichhorn
Browse files

Added more output to the GenerationOverview Visualizer

parent 0b61c5e8
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,8 @@ public class GenerationOverviewToConsole implements Visualizer {
int bonds = bondsOverlapsEvaluator.evaluateBonds(bestCandidateOfGeneration);
int overlaps = bondsOverlapsEvaluator.evaluateBonds(bestCandidateOfGeneration);
System.out.println("Generation " + geneticAlgorithm.generation + ":");
System.out.println("Generation " + geneticAlgorithm.generation + "/" + config.getTotalGenerations() + ":");
System.out.println("Population size: " + generation.length);
System.out.println("The fitness is: "
+ bestCandidateOfGeneration.getFitness()
+ " [hydrophobicBonds = " + bonds + " | overlaps = " + overlaps + "]");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment