Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for nodes (0.13 sec)

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

        ComparableSubClass node8 = new ComparableSubClass(8);
    
        graph.addNode(node4);
        graph.addNode(node2);
        graph.addNode(node6);
        graph.addNode(node8);
    
        assertThat(graph.nodeOrder().comparator()).isEqualTo(Ordering.natural());
        assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder();
      }
    
      private static void addNodes(MutableGraph<Integer> graph) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

        ComparableSubClass node8 = new ComparableSubClass(8);
    
        graph.addNode(node4);
        graph.addNode(node2);
        graph.addNode(node6);
        graph.addNode(node8);
    
        assertThat(graph.nodeOrder().comparator()).isEqualTo(Ordering.natural());
        assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder();
      }
    
      private static void addNodes(MutableGraph<Integer> graph) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

        return InvalidatableSet.of(
            set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node));
      }
    
      protected final <T> Set<T> nodePairInvalidatableSet(Set<T> set, N nodeU, N nodeV) {
        return InvalidatableSet.of(
            set,
            () -> nodes().contains(nodeU) && nodes().contains(nodeV),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/BaseGraph.java

       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}.
       *
       * <p>In an undirected graph, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EndpointPairIterator.java

       * EndpointPair [N2, N1] - skip
       * EndpointPair [N2, N3] - return
       * Visited Nodes = {N1, N2}
       * EndpointPair [N3, N1] - skip
       * EndpointPair [N3, N2] - skip
       * Visited Nodes = {N1, N2, N3}
       * EndpointPair [N4, N4] - return
       * Visited Nodes = {N1, N2, N3, N4}
       * </pre>
       */
      private static final class Undirected<N> extends EndpointPairIterator<N> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardValueGraph.java

        return hasEdgeConnectingInternal(checkNotNull(nodeU), checkNotNull(nodeV));
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        return isOrderingCompatible(endpoints)
            && hasEdgeConnectingInternal(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
          nodeConnections.put(node, connectionsOf(graph, node));
        }
        return nodeConnections.buildOrThrow();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeTraverser.java

      /** Returns the children of the specified node. Must not contain null. */
      public abstract Iterable<T> children(T root);
    
      /**
       * Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal.
       * That is, each node's subtrees are traversed after the node itself is returned.
       *
       * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-health.go

    	return nil
    }
    
    const (
    	healthNodesOfflineCount = "nodes_offline_count"
    	healthNodesOnlineCount  = "nodes_online_count"
    )
    
    var (
    	healthNodesOfflineCountMD = NewGaugeMD(healthNodesOfflineCount,
    		"Count of offline nodes in the cluster")
    	healthNodesOnlineCountMD = NewGaugeMD(healthNodesOnlineCount,
    		"Count of online nodes in the cluster")
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top