Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for edgeConnectingOrNull (0.06 sec)

  1. android/guava/src/com/google/common/graph/Network.java

       * <p>In an undirected network, this is equal to {@code edgeConnectingOrNull(nodeV, nodeU)}.
       *
       * @throws IllegalArgumentException if there are multiple parallel edges connecting {@code nodeU}
       *     to {@code nodeV}
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     network
       * @since 23.0
       */
      @Nullable E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractNetworkTest.validateNetwork(transpose);
    
        assertThat(transpose.edgesConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnectingOrNull(N1, N2)).isNull();
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(ENDPOINTS_N1N2);
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Test
      public void edgesConnecting_oneEdge() {
        addEdge(N1, N2, E12);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top