//HashMap color = new HashMap();
double[] distance = new double[graph.nodeCount()];
_predecessor = new int[graph.nodeCount()];
for (Iterator nodes = graph.nodes().iterator(); nodes.hasNext();) {
Node node = (Node) nodes.next();
if (node != _startNode) {
//color.put(node, Color.white);
distance[graph.nodeLabel(node)] = -Double.MIN_VALUE;