Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 103 for successors (0.17 seconds)

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

                if (next != null) {
                  Iterator<? extends N> successors = successorFunction.successors(next).iterator();
                  if (successors.hasNext()) {
                    // BFS: horizon.addLast(successors)
                    // Pre-order: horizon.addFirst(successors)
                    order.insertInto(horizon, successors);
                  }
                  return next;
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

      @Override
      public Set<N> successors() {
        return Collections.unmodifiableSet(successorsMultiset().elementSet());
      }
    
      private Multiset<N> successorsMultiset() {
        Multiset<N> successors = getReference(successorsReference);
        if (successors == null) {
          successors = HashMultiset.create(outEdgeMap.values());
          successorsReference = new SoftReference<>(successors);
        }
        return successors;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

        return delegate().adjacentNodes(node);
      }
    
      @Override
      public Set<N> predecessors(N node) {
        return delegate().predecessors(node);
      }
    
      @Override
      public Set<N> successors(N node) {
        return delegate().successors(node);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/ArchetypeGraph.java

      ElementOrder<N> nodeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
       * <p>If {@code node} is removed from the graph after this method is called, the {@code Set}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        private static void visitNode(BuildStep node, Set<BuildStep> visited, List<BuildStep> sortedNodes) {
            if (visited.add(node)) {
                // For each successor of the current node, visit unvisited successors
                node.successors.forEach(successor -> visitNode(successor, visited, sortedNodes));
                sortedNodes.add(node);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
                              Sets.difference(graph.successors(node), ImmutableSet.of(node)).iterator(),
                              (N successor) -> EndpointPair.ordered(node, successor))));
                } else {
                  return Iterators.unmodifiableIterator(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/GraphConnections.java

      /**
       * Remove {@code node} from the set of successors. Returns the value previously associated with
       * the edge connecting the two nodes.
       */
      @CanIgnoreReturnValue
      @Nullable V removeSuccessor(N node);
    
      /**
       * Add {@code node} as a predecessor to the origin node. In the case of an undirected graph, it
       * also becomes a successor. Associates {@code value} with the edge connecting the two nodes.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      private static final class NodeAndRemainingSuccessors<N> {
        final N node;
    
        /**
         * The successors left to be visited, or {@code null} if we just added this {@code
         * NodeAndRemainingSuccessors} instance to the stack. In the latter case, we'll compute the
         * successors if we determine that we need them after we've performed the initial processing of
         * the node.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/StandardValueGraph.java

      @Override
      public Set<N> predecessors(N node) {
        return nodeInvalidatableSet(checkedConnections(node).predecessors(), node);
      }
    
      @Override
      public Set<N> successors(N node) {
        return nodeInvalidatableSet(checkedConnections(node).successors(), node);
      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        GraphConnections<N, V> connections = checkedConnections(node);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

          }
    
          @Override
          public Set<N> predecessors(N node) {
            return AbstractNetwork.this.predecessors(node);
          }
    
          @Override
          public Set<N> successors(N node) {
            return AbstractNetwork.this.successors(node);
          }
    
          // DO NOT override the AbstractGraph *degree() implementations.
        };
      }
    
      @Override
      public int degree(N node) {
        if (isDirected()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top