Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for transpose_directedGraph (0.09 sec)

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

        undirectedGraph.putEdge(N1, N2);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N3, N1);
        directedGraph.putEdge(N1, N2);
    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