Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for adjacentNodes (0.07 sec)

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

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        putEdge(N1, N2);
        assertThat(graph.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      @Test
      public void predecessors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        putEdge(N1, N2);
        assertThat(graph.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      @Test
      public void predecessors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = network.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        addEdge(N1, N2, E12);
        assertThat(network.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      public void adjacentEdges_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = network.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        addEdge(N1, N2, E12);
        assertThat(network.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      public void adjacentEdges_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        addNode(N1);
        Set<Integer> adjacentNodes = network.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        addEdge(N1, N2, E12);
        assertThat(network.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      public void adjacentEdges_checkReturnedSetMutability() {
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        addNode(N1);
        Set<Integer> adjacentNodes = network.adjacentNodes(N1);
        assertThrows(UnsupportedOperationException.class, () -> adjacentNodes.add(N2));
        addEdge(N1, N2, E12);
        assertThat(network.adjacentNodes(N1)).containsExactlyElementsIn(adjacentNodes);
      }
    
      @Override
      public void adjacentEdges_checkReturnedSetMutability() {
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.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
    - 16K bytes
    - Viewed (0)
  8. android/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)
  9. 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)
  10. 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)
Back to top