Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NetworkBuilder (0.1 sec)

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

      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A =
          NetworkBuilder.directed().allowsParallelEdges(true).expectedNodeCount(10);
      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_B =
          NetworkBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_A =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A =
          NetworkBuilder.directed().allowsParallelEdges(true).expectedNodeCount(10);
      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_B =
          NetworkBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_A =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

        MutableNetwork<Integer, String> undirectedGraph = NetworkBuilder.undirected().build();
        undirectedGraph.addEdge(N1, N2, E12);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedNetwork() {
        MutableNetwork<Integer, String> directedGraph =
            NetworkBuilder.directed().allowsParallelEdges(true).allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      }
    
      private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      }
    
      private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. 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
    - 22.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        undirectedGraph = mutableUndirectedGraph;
    
        MutableNetwork<Integer, String> mutableDirectedNetwork =
            NetworkBuilder.directed().allowsParallelEdges(true).allowsSelfLoops(true).build();
        MutableNetwork<Integer, String> mutableUndirectedNetwork =
            NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. 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)
Back to top