Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MutableValueGraph (0.11 sec)

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

      @Test
      public void transpose_undirectedValueGraph() {
        MutableValueGraph<Integer, String> undirectedGraph = ValueGraphBuilder.undirected().build();
        undirectedGraph.putEdgeValue(N1, N2, E12);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedValueGraph() {
        MutableValueGraph<Integer, String> directedGraph =
    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. guava/src/com/google/common/graph/ValueGraph.java

     * ValueGraphBuilder} class:
     *
     * <pre>{@code
     * MutableValueGraph<Integer, Double> graph = ValueGraphBuilder.directed().build();
     * }</pre>
     *
     * <p>{@link ValueGraphBuilder#build()} returns an instance of {@link MutableValueGraph}, which is a
     * subtype of {@code ValueGraph} that provides methods for adding and removing nodes and edges. If
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top