Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for asGraph (0.03 sec)

  1. guava/src/com/google/common/graph/ValueGraph.java

      /**
       * Returns a live view of this graph as a {@link Graph}. The resulting {@link Graph} will have an
       * edge connecting node A to node B if this {@link ValueGraph} has an edge connecting A to B.
       */
      Graph<N> asGraph();
    
      //
      // ValueGraph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(transpose).isEqualTo(expectedTranspose);
        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose.asGraph());
    
        assertThat(transpose.edgeValueOrDefault(N1, N2, null)).isNull();
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(asNetwork.edgeOrder()).isEqualTo(ElementOrder.unordered());
        assertThat(asNetwork.allowsParallelEdges()).isFalse();
        assertThat(asNetwork.asGraph()).isEqualTo(graph);
    
        Set<EndpointPair<N>> allEndpointPairs = new HashSet<>();
    
        for (N node : sanityCheckSet(graph.nodes())) {
          assertThat(nodeString).contains(node.toString());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Network.java

       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
       * in the {@link Graph} view may be less than the degree of the same node in this {@link Network}.
       */
      Graph<N> asGraph();
    
      //
      // Network properties
      //
    
      /**
       * Returns true if this network allows parallel edges. Attempting to add a parallel edge to a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top