Clean up a bit
This commit is contained in:
parent
a61f866171
commit
7aceb63400
1 changed files with 3 additions and 7 deletions
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue