Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for expectedNodeCount (0.12 sec)

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

      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
    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 AbstractGraphBuilder<?> GRAPH_BUILDER_A =
          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
    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/src/com/google/common/graph/StandardValueGraph.java

      StandardValueGraph(AbstractGraphBuilder<? super N> builder) {
        this(
            builder,
            builder.nodeOrder.<N, GraphConnections<N, V>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            0L);
      }
    
      /**
       * Constructs a graph with the properties specified in {@code builder}, initialized with the given
       * node map.
       */
      StandardValueGraph(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphsTest.java

            .isEqualTo(ImmutableSet.of(E12, E12_A, E21));
      }
    
      @Test
      public void createDirected_expectedNodeCount() {
        MutableNetwork<Integer, String> directedGraph =
            NetworkBuilder.directed().expectedNodeCount(NODE_COUNT).build();
        assertThat(directedGraph.addEdge(N1, N2, E12)).isTrue();
        assertThat(directedGraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/StandardNetwork.java

      StandardNetwork(NetworkBuilder<? super N, ? super E> builder) {
        this(
            builder,
            builder.nodeOrder.<N, NetworkConnections<N, E>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT)));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/StandardNetwork.java

      StandardNetwork(NetworkBuilder<? super N, ? super E> builder) {
        this(
            builder,
            builder.nodeOrder.<N, NetworkConnections<N, E>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT)));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top