Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for NetworkBuilder (0.15 sec)

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

        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.directed()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Network.java

     * create an instance of one of the built-in implementations of {@code Network}, use the {@link
     * NetworkBuilder} class:
     *
     * <pre>{@code
     * MutableNetwork<Integer, MyEdge> network = NetworkBuilder.directed().build();
     * }</pre>
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableNetwork<String, Integer> network = NetworkBuilder.directed().build();
        network.addEdge("a", "b", 11);
    
        Traverser.forTree(network); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedNetwork_throws() throws Exception {
        MutableNetwork<String, Integer> network = NetworkBuilder.undirected().build();
        network.addEdge("a", "b", 11);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableNetwork<String, Integer> network = NetworkBuilder.directed().build();
        network.addEdge("a", "b", 11);
    
        Traverser.forTree(network); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedNetwork_throws() throws Exception {
        MutableNetwork<String, Integer> network = NetworkBuilder.undirected().build();
        network.addEdge("a", "b", 11);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top