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