Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for edgesConnecting_undirected (0.1 sec)

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

        assertThat(network.edgesConnecting("A", "B")).containsExactly("AB");
        assertThat(network.edgesConnecting("B", "A")).isEmpty();
      }
    
      @Test
      public void edgesConnecting_undirected() {
        MutableNetwork<String, String> mutableNetwork =
            NetworkBuilder.undirected().allowsSelfLoops(true).build();
        mutableNetwork.addEdge("A", "A", "AA");
        mutableNetwork.addEdge("A", "B", "AB");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(network.edgesConnecting("A", "B")).containsExactly("AB");
        assertThat(network.edgesConnecting("B", "A")).isEmpty();
      }
    
      @Test
      public void edgesConnecting_undirected() {
        MutableNetwork<String, String> mutableNetwork =
            NetworkBuilder.undirected().allowsSelfLoops(true).build();
        mutableNetwork.addEdge("A", "A", "AA");
        mutableNetwork.addEdge("A", "B", "AB");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top