Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for edgesConnecting (0.78 sec)

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

        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactlyElementsIn(edgesConnecting);
      }
    
      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactlyElementsIn(edgesConnecting);
      }
    
      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactlyElementsIn(edgesConnecting);
      }
    
      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assertTrue(networkAsMutableNetwork.removeEdge(E11_A));
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11);
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
        assertTrue(networkAsMutableNetwork.removeEdge(E11));
        assertThat(network.edgesConnecting(N1, N1)).isEmpty();
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
      }
    
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(directedGraph.edges()).isEmpty();
        assertThat(directedGraph.addEdge(N1, N2, E12)).isTrue();
        assertThat(directedGraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12));
        assertThat(directedGraph.edgesConnecting(N2, N1)).isEmpty();
    
        // By default, parallel edges are not allowed.
        IllegalArgumentException e =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Network.java

       *
       * <p>In an undirected network, this is equal to {@code edgesConnecting(nodeV, nodeU)}.
       *
       * <p>The resulting set of edges will be parallel (i.e. have equal {@link
       * #incidentNodes(Object)}). If this network does not {@link #allowsParallelEdges() allow parallel
       * edges}, the resulting set will contain at most one edge (equivalent to {@code
       * edgeConnecting(nodeU, nodeV).asSet()}).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public Set<E> edgesConnecting(N nodeU, N nodeV) {
          return delegate().edgesConnecting(nodeV, nodeU); // transpose
        }
    
        @Override
        public Set<E> edgesConnecting(EndpointPair<N> endpoints) {
          return delegate().edgesConnecting(transpose(endpoints));
        }
    
        @Override
        public Optional<E> edgeConnecting(N nodeU, N nodeV) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public Set<E> edgesConnecting(N nodeU, N nodeV) {
          return delegate().edgesConnecting(nodeV, nodeU); // transpose
        }
    
        @Override
        public Set<E> edgesConnecting(EndpointPair<N> endpoints) {
          return delegate().edgesConnecting(transpose(endpoints));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top