Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for nodejs (0.24 sec)

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

          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractNetworkTest.validateNetwork(network);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).isEmpty();
    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)
  2. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.predecessors(node)).hasSize(graph.inDegree(node));
            assertThat(graph.successors(node)).hasSize(graph.outDegree(node));
          } else {
            int selfLoopCount = graph.adjacentNodes(node).contains(node) ? 1 : 0;
            assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Traverser.java

       *   <li>Nodes being visited multiple times (if multiple paths exist from any start node to any
       *       node reachable from any start node)
       * </ul>
       *
       * <p><b>Performance notes</b>
       *
       * <ul>
       *   <li>Traversals require <i>O(n)</i> time (where <i>n</i> is the number of nodes reachable from
       *       the start node).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ValueGraph.java

      int outDegree(N node);
    
      /**
       * 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
       */
      @Override
      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
    - 15K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(network.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

    import java.util.List;
    
    /**
     * MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
     *
     *
     */
    @Deprecated
    public class MetadataGraphNode {
        /** node payload */
        MavenArtifactMetadata metadata;
    
        /** nodes, incident to this (depend on me) */
        List<MetadataGraphNode> inNodes;
    
        /** nodes, exident to this (I depend on) */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractGraphTest.validateGraph(transpose);
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
          assertThat(directedGraph.outDegree(node)).isSameInstanceAs(transpose.inDegree(node));
        }
    
        assertThat(transpose.successors(N1)).doesNotContain(N2);
        directedGraph.putEdge(N2, N1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * with user-defined properties.
     *
     * <p>A {@code ValueGraph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
     *   <li>orders {@link ValueGraph#nodes()} in the order in which the elements were added (insertion
     *       order)
     * </ul>
     *
     * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
Back to top