@Test public void sssp_givenStartHasNoEdges_thenParentIsNull() throws Exception { addNodes(1); Graph.Node node = g.getNode(0); test.sssp(node); assertParent(0, 0); }
public void sssp(Graph.Node start) { }
BFS { public void sssp(Graph.Node start) { } }
BFS { public void sssp(Graph.Node start) { } BFS(); }
BFS { public void sssp(Graph.Node start) { } BFS(); void sssp(Graph.Node start); Integer getDepth(Graph.Node n); Graph.Node getParent(Graph.Node n); }
BFS { public void sssp(Graph.Node start) { } BFS(); void sssp(Graph.Node start); Integer getDepth(Graph.Node n); Graph.Node getParent(Graph.Node n);  }