diff --git a/Projektgruppe_175/src/base/GraphAlgorithm.java b/Projektgruppe_175/src/base/GraphAlgorithm.java index 57e5352..d30f3c3 100644 --- a/Projektgruppe_175/src/base/GraphAlgorithm.java +++ b/Projektgruppe_175/src/base/GraphAlgorithm.java @@ -170,10 +170,6 @@ public abstract class GraphAlgorithm { if (DEBUG_2) System.out.println("Enter run"); - - if (DEBUG_2) { - - } AlgorithmNode v = getSmallestNode(); @@ -189,7 +185,6 @@ public abstract class GraphAlgorithm { if (DEBUG_2) { System.out.println("run with n="+n); - System.out.flush(); } if (isPassable(e)) { @@ -202,8 +197,9 @@ public abstract class GraphAlgorithm { n.value = a; n.previous = v; - - System.out.println("--" + n.node.getValue() + " " + n.previous.node.getValue()); + + if (DEBUG_2) + System.out.println("--" + n.node.getValue() + " " + n.previous.node.getValue()); }