Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for MutableNetwork (0.13 sec)

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

     * 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
     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_acceptsDirectedNetwork() throws Exception {
        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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_acceptsDirectedNetwork() throws Exception {
        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();
    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