Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createDirected (0.11 sec)

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

        Network<Integer, String> copy = copyOf(undirectedGraph);
        assertThat(copy).isEqualTo(undirectedGraph);
      }
    
      // Graph creation tests
    
      @Test
      public void createDirected() {
        MutableNetwork<Integer, String> directedGraph = NetworkBuilder.directed().build();
        assertThat(directedGraph.nodes()).isEmpty();
        assertThat(directedGraph.edges()).isEmpty();
    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