Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for reachableNodes (0.04 sec)

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

          for (N node : graph.nodes()) {
            if (!visitedNodes.contains(node)) {
              Set<N> reachableNodes = reachableNodes(graph, node);
              visitedNodes.addAll(reachableNodes);
              int pairwiseMatch = 1; // start at 1 to include self-loops
              for (N nodeU : reachableNodes) {
                for (N nodeV : Iterables.limit(reachableNodes, pairwiseMatch++)) {
                  transitiveClosure.putEdge(nodeU, nodeV);
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

          for (N node : graph.nodes()) {
            if (!visitedNodes.contains(node)) {
              Set<N> reachableNodes = reachableNodes(graph, node);
              visitedNodes.addAll(reachableNodes);
              int pairwiseMatch = 1; // start at 1 to include self-loops
              for (N nodeU : reachableNodes) {
                for (N nodeV : Iterables.limit(reachableNodes, pairwiseMatch++)) {
                  transitiveClosure.putEdge(nodeU, nodeV);
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/SuccessorsFunction.java

       *
       * <p>This is <i>not</i> the same as "all nodes reachable from {@code node} by following outgoing
       * edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}.
       *
       * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       *
       * <p>This is <i>not</i> the same as "all nodes reachable from {@code node} by following outgoing
       * edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}.
       *
       * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphsTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.Graphs.copyOf;
    import static com.google.common.graph.Graphs.inducedSubgraph;
    import static com.google.common.graph.Graphs.reachableNodes;
    import static com.google.common.graph.Graphs.transitiveClosure;
    import static com.google.common.graph.Graphs.transpose;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Network.java

       *
       * <p>This is <i>not</i> the same as "all nodes reachable from {@code node} by following outgoing
       * edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}.
       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top