Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 66 of 66 for Hedger (0.27 sec)

  1. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String REUSING_EDGE =
          "Edge %s already exists between the following nodes: %s, "
              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractValueGraph.java

            + nodes()
            + ", edges: "
            + edgeValueMap(this);
      }
    
      private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(final ValueGraph<N, V> graph) {
        return Maps.asMap(
            graph.edges(),
            edge ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardNetwork.java

        }
        return connections;
      }
    
      final N checkedReferenceNode(E edge) {
        N referenceNode = edgeToReferenceNode.get(edge);
        if (referenceNode == null) {
          checkNotNull(edge);
          throw new IllegalArgumentException(String.format(EDGE_NOT_IN_GRAPH, edge));
        }
        return referenceNode;
      }
    
      final boolean containsNode(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(e.getMessage()).contains(ERROR_PARALLEL_EDGE);
        e = assertThrows(IllegalArgumentException.class, () -> undirectedGraph.addEdge(N2, N1, E21));
        assertThat(e.getMessage()).contains(ERROR_PARALLEL_EDGE);
    
        // By default, self-loop edges are not allowed.
        e = assertThrows(IllegalArgumentException.class, () -> undirectedGraph.addEdge(N1, N1, E11));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

              assertThat(graph.hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV())).isTrue();
            }
          }
        }
    
        sanityCheckSet(graph.edges());
        assertThat(graph.edges()).doesNotContain(EndpointPair.of(graph, new Object(), new Object()));
        assertThat(graph.edges()).isEqualTo(allEndpointPairs);
      }
    
      /**
       * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 17.4K bytes
    - Viewed (0)
Back to top