From c569901ee27ea630d8ad4d78603b4536a9e65fd7 Mon Sep 17 00:00:00 2001 From: Oscar Schwarz Date: Mon, 17 Jun 2024 14:19:34 +0200 Subject: [PATCH] fix(Main): output to console --- src/main/java/fish_variety/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fish_variety/Main.java b/src/main/java/fish_variety/Main.java index 62a67b4..7454165 100644 --- a/src/main/java/fish_variety/Main.java +++ b/src/main/java/fish_variety/Main.java @@ -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()); } }