Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for breadthFirst (0.16 sec)

  1. android/guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) {
        checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node);
        return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node));
      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
       * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top