Performance: Redundant call to 'String.format()'
This commit is contained in:
parent
0fa24bdc8e
commit
0f9573e22e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class TspHeldKarp {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
System.err.printf(".");
|
System.err.print(".");
|
||||||
PriorityQueue<Node> children = new PriorityQueue<Node>(11, new NodeComparator());
|
PriorityQueue<Node> children = new PriorityQueue<Node>(11, new NodeComparator());
|
||||||
children.add(exclude(currentNode, i, currentNode.parent[i]));
|
children.add(exclude(currentNode, i, currentNode.parent[i]));
|
||||||
for (int j = 0; j < n; j++) {
|
for (int j = 0; j < n; j++) {
|
||||||
|
|
Loading…
Reference in a new issue