Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for adjacentNodes (0.09 sec)

  1. guava/src/com/google/common/graph/ElementOrder.java

       * collections of the following methods:
       *
       * <ul>
       *   <li>For {@link Graph} and {@link ValueGraph}:
       *       <ul>
       *         <li>{@code edges()}: Stable order
       *         <li>{@code adjacentNodes(node)}: Connecting edge insertion order
       *         <li>{@code predecessors(node)}: Connecting edge insertion order
       *         <li>{@code successors(node)}: Connecting edge insertion order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graph.java

       */
      @Override
      Set<N> adjacentNodes(N node);
    
      /**
       * Returns a live view of all nodes in this graph adjacent to {@code node} which can be reached by
       * traversing {@code node}'s incoming edges <i>against</i> the direction (if any) of the edge.
       *
       * <p>In an undirected graph, this is equivalent to {@link #adjacentNodes(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Graph.java

       */
      @Override
      Set<N> adjacentNodes(N node);
    
      /**
       * Returns a live view of all nodes in this graph adjacent to {@code node} which can be reached by
       * traversing {@code node}'s incoming edges <i>against</i> the direction (if any) of the edge.
       *
       * <p>In an undirected graph, this is equivalent to {@link #adjacentNodes(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

       */
      Set<N> adjacentNodes(N node);
    
      /**
       * Returns a live view of all nodes in this network adjacent to {@code node} which can be reached
       * by traversing {@code node}'s incoming edges <i>against</i> the direction (if any) of the edge.
       *
       * <p>In an undirected network, this is equivalent to {@link #adjacentNodes(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractNetwork.this.allowsSelfLoops();
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractNetwork.this.adjacentNodes(node);
          }
    
          @Override
          public Set<N> predecessors(N node) {
            return AbstractNetwork.this.predecessors(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractNetwork.java

          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractNetwork.this.allowsSelfLoops();
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractNetwork.this.adjacentNodes(node);
          }
    
          @Override
          public Set<N> predecessors(N node) {
            return AbstractNetwork.this.predecessors(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        newBuilder.nodeOrder = checkNotNull(nodeOrder);
        return newBuilder;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link ValueGraph#edges()}, {@link
       * ValueGraph#adjacentNodes(Object)}, {@link ValueGraph#predecessors(Object)}, {@link
       * ValueGraph#successors(Object)} and {@link ValueGraph#incidentEdges(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        this.selfLoopCount = checkNonNegative(selfLoopCount);
        checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size());
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Sets.union(predecessors(), successors());
      }
    
      @Override
      public Set<E> incidentEdges() {
        return new AbstractSet<E>() {
          @Override
          public UnmodifiableIterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
       * A builder for creating {@link ImmutableGraph} instances, especially {@code static final}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
        for (Integer node : graph.nodes()) {
          assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node));
          assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node));
          assertThat(graph.successors(node)).isEqualTo(asGraph.successors(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
Back to top