Skip to content

Commit

Permalink
fix(Main): output to console
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-schwarz committed Jun 17, 2024
1 parent 48f0c87 commit c569901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fish_variety/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void main( String[] args )
grueneMigraene, prachtpiranha, zitterling
});

FishCollection bestVariant = FishCalculator.mostCompatibleFishTypesOfCollection(1000000, new FishCollection(constraints));
System.out.println(bestVariant);
FishCollection bestVariant = FishCalculator.mostCompatibleFishTypesOfCollection(170, new FishCollection(constraints));
System.out.println("Es koennen maximal " + bestVariant.getFishes().size() + " Fische zusammen gekauft werden, zum Beispiel: " + bestVariant.toString());
}
}

0 comments on commit c569901

Please sign in to comment.