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