Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for transpose_undirectedNetwork (0.3 sec)

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

        // View should be updated.
        assertThat(transpose.edgeValueOrDefault(N1, N2, null)).isEqualTo(E21);
        AbstractGraphTest.validateGraph(transpose.asGraph());
      }
    
      @Test
      public void transpose_undirectedNetwork() {
        MutableNetwork<Integer, String> undirectedGraph = NetworkBuilder.undirected().build();
        undirectedGraph.addEdge(N1, N2, E12);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top