Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for edgeConnectingOrNull (0.11 sec)

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

       *
       * @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
       */
      @CheckForNull
      E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Network.java

       *
       * @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
       */
      @CheckForNull
      E edgeConnectingOrNull(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractNetworkTest.validateNetwork(transpose);
    
        assertThat(transpose.edgesConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnecting(N1, N2).isPresent()).isFalse();
        assertThat(transpose.edgeConnectingOrNull(N1, N2)).isNull();
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(EndpointPair.unordered(N1, N2));
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Override
      @Test
      public void incidentNodes_oneEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
                  String unused = network.edgeConnectingOrNull(EndpointPair.unordered(N1, N2));
                });
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Override
      @Test
      public void incidentNodes_oneEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top