Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for successors (0.08 sec)

  1. 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()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/IncidentEdgeSet.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public int size() {
        if (graph.isDirected()) {
          return graph.inDegree(node)
              + graph.outDegree(node)
              - (graph.successors(node).contains(node) ? 1 : 0);
        } else {
          return graph.adjacentNodes(node).size();
        }
      }
    
      @Override
      public boolean contains(@CheckForNull Object obj) {
        if (!(obj instanceof EndpointPair)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          }
    
          @Override
          public Set<N> predecessors(N node) {
            return AbstractValueGraph.this.predecessors(node);
          }
    
          @Override
          public Set<N> successors(N node) {
            return AbstractValueGraph.this.successors(node);
          }
    
          @Override
          public int degree(N node) {
            return AbstractValueGraph.this.degree(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ForwardingNetwork.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 Set<E> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public Set<E> inEdges(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ValueGraph.java

       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
          return delegate.successors(node);
        }
      }
    
      private static <N> SuccessorsFunction<N> fixedSuccessors(final Iterable<N> successors) {
        return new SuccessorsFunction<N>() {
          @Override
          public Iterable<N> successors(N n) {
            return successors;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
          return delegate.successors(node);
        }
      }
    
      private static <N> SuccessorsFunction<N> fixedSuccessors(final Iterable<N> successors) {
        return new SuccessorsFunction<N>() {
          @Override
          public Iterable<N> successors(N n) {
            return successors;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        this.incidentEdgeMap = checkNotNull(incidentEdgeMap);
      }
    
      @Override
      public Set<N> predecessors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<E> incidentEdges() {
        return Collections.unmodifiableSet(incidentEdgeMap.keySet());
      }
    
      @Override
      public Set<E> inEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graph.java

       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top