Clean up a bit

This commit is contained in:
joachimschmidt557 2019-03-26 14:30:01 +01:00
parent a61f866171
commit 7aceb63400

View file

@ -170,10 +170,6 @@ public abstract class GraphAlgorithm<T> {
if (DEBUG_2)
System.out.println("Enter run");
if (DEBUG_2) {
}
AlgorithmNode<T> v = getSmallestNode();
@ -189,7 +185,6 @@ public abstract class GraphAlgorithm<T> {
if (DEBUG_2) {
System.out.println("run with n="+n);
System.out.flush();
}
if (isPassable(e)) {
@ -202,8 +197,9 @@ public abstract class GraphAlgorithm<T> {
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());
}