Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for undirectedGraph (0.09 sec)

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

        MutableNetwork<Integer, String> undirectedGraph =
            NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build();
        undirectedGraph.addEdge(N1, N1, E11);
        undirectedGraph.addEdge(N1, N2, E12);
        undirectedGraph.addEdge(N1, N1, E11_A);
        undirectedGraph.addEdge(N1, N2, E12_A);
        undirectedGraph.addEdge(N2, N1, E21);
    
        return 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)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top