Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for Hodges (0.17 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/src/com/google/common/graph/ValueGraph.java

     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges have associated values
     * </ul>
     *
     * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges,
     * and forbids implementations or extensions with parallel edges. If you need parallel edges, use
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(network.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<String> edges = network.edges();
    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)
  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-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Test
    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)
  6. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).hasSize(2);
        assertThat(edges).contains(EndpointPair.unordered(N1, N1));
        assertThat(edges).contains(EndpointPair.unordered(N1, N2));
        assertThat(edges).contains(EndpointPair.unordered(N2, N1)); // equal to unordered(N1, N2)
    
        // ordered endpoints not compatible with undirected graph
        assertThat(edges).doesNotContain(EndpointPair.ordered(N1, N2));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).hasSize(2);
        assertThat(edges).contains(EndpointPair.unordered(N1, N1));
        assertThat(edges).contains(EndpointPair.unordered(N1, N2));
        assertThat(edges).contains(EndpointPair.unordered(N2, N1)); // equal to unordered(N1, N2)
    
        // ordered endpoints not compatible with undirected graph
        assertThat(edges).doesNotContain(EndpointPair.ordered(N1, N2));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(directedGraph.nodes()).isEmpty();
        assertThat(directedGraph.edges()).isEmpty();
        assertThat(directedGraph.addEdge(N1, N2, E12)).isTrue();
        assertThat(directedGraph.edgesConnecting(N1, N2)).isEqualTo(ImmutableSet.of(E12));
        assertThat(directedGraph.edgesConnecting(N2, N1)).isEmpty();
    
        // By default, parallel edges are not allowed.
        IllegalArgumentException e =
    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)
  9. android/guava/src/com/google/common/graph/Traverser.java

       *       of nodes that have been seen but not yet visited, that is, the "horizon").
       * </ul>
       *
       * <p><b>Examples</b> (all edges are directed facing downwards)
       *
       * <p>The graph below would be valid input with start nodes of {@code a, f, c}. However, if {@code
       * b} were <i>also</i> a start node, then there would be multiple paths to reach {@code e} and
       * {@code h}.
       *
    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)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            List<MetadataGraphEdge> edges = getIncidentEdges(vTo);
            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
                if (e.getSource().equals(vFrom)) {
                    res.add(e);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top