Exemplo n.º 1
0
 public Bfs(InspectableGraph graph, Node startNode, Direction direction) {
   super(graph, startNode);
   Args.notNull(direction);
   this.direction = direction;
 }
Exemplo n.º 2
0
 private NodeInfo getNodeInfo(Node node) {
   Args.notNull(node);
   return (NodeInfo) node.get(NODE_INFO);
 }