Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for in_edges (0.28 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
        addNode(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

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

          }
    
          @Override
          public boolean contains(@CheckForNull Object obj) {
            return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
          }
        };
      }
    
      @Override
      public Set<E> inEdges() {
        return Collections.unmodifiableSet(inEdgeMap.keySet());
      }
    
      @Override
      public Set<E> outEdges() {
        return Collections.unmodifiableSet(outEdgeMap.keySet());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardNetwork.java

        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).outEdges(), node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/StandardNetwork.java

        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).outEdges(), node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Network.java

      /**
       * Returns a live view of the edges whose {@link #incidentNodes(Object) incident nodes} in this
       * network include {@code node}.
       *
       * <p>This is equal to the union of {@link #inEdges(Object)} and {@link #outEdges(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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  7. .github/actions/people/app/main.py

    
    def get_pr_nodes(settings: Settings) -> List[PullRequestNode]:
        pr_nodes: List[PullRequestNode] = []
        pr_edges = get_graphql_pr_edges(settings=settings)
    
        while pr_edges:
            for edge in pr_edges:
                pr_nodes.append(edge.node)
            last_edge = pr_edges[-1]
            pr_edges = get_graphql_pr_edges(settings=settings, after=last_edge.cursor)
        return pr_nodes
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  8. guava/src/com/google/common/graph/NetworkConnections.java

     */
    @ElementTypesAreNonnullByDefault
    interface NetworkConnections<N, E> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
      Set<E> incidentEdges();
    
      Set<E> inEdges();
    
      Set<E> outEdges();
    
      /**
       * Returns the set of edges connecting the origin node to {@code node}. For networks without
       * parallel edges, this set cannot be of size greater than one.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object obj) {
            return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
          }
        };
      }
    
      @Override
      public Set<E> inEdges() {
        return Collections.unmodifiableSet(inEdgeMap.keySet());
      }
    
      @Override
      public Set<E> outEdges() {
        return Collections.unmodifiableSet(outEdgeMap.keySet());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Network.java

      /**
       * Returns a live view of the edges whose {@link #incidentNodes(Object) incident nodes} in this
       * network include {@code node}.
       *
       * <p>This is equal to the union of {@link #inEdges(Object)} and {@link #outEdges(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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top