Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MutableValueGraph (0.06 sec)

  1. android/guava/src/com/google/common/graph/Graphs.java

       * nodes}.
       *
       * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph
       */
      public static <N, V> MutableValueGraph<N, V> inducedSubgraph(
          ValueGraph<N, V> graph, Iterable<? extends N> nodes) {
        MutableValueGraph<N, V> subgraph =
            (nodes instanceof Collection)
                ? ValueGraphBuilder.from(graph).expectedNodeCount(((Collection) nodes).size()).build()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

       * nodes}.
       *
       * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph
       */
      public static <N, V> MutableValueGraph<N, V> inducedSubgraph(
          ValueGraph<N, V> graph, Iterable<? extends N> nodes) {
        MutableValueGraph<N, V> subgraph =
            (nodes instanceof Collection)
                ? ValueGraphBuilder.from(graph).expectedNodeCount(((Collection) nodes).size()).build()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_acceptsDirectedValueGraph() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedValueGraph_throws() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.undirected().build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_acceptsDirectedValueGraph() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedValueGraph_throws() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.undirected().build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
Back to top