Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Hedger (0.18 sec)

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

        for (N node : graph.nodes()) {
          copy.addNode(node);
        }
        for (EndpointPair<N> edge : graph.edges()) {
          copy.putEdge(edge.nodeU(), edge.nodeV());
        }
        return copy;
      }
    
      /** Creates a mutable copy of {@code graph} with the same nodes, edges, and edge values. */
      public static <N, V> MutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
        MutableValueGraph<N, V> copy =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractNetwork.java

      @Override
      public Set<E> adjacentEdges(E edge) {
        EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
        Set<E> endpointPairIncidentEdges =
            Sets.union(incidentEdges(endpointPair.nodeU()), incidentEdges(endpointPair.nodeV()));
        return edgeInvalidatableSet(
            Sets.difference(endpointPairIncidentEdges, ImmutableSet.of(edge)), edge);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Network.java

      /**
       * Returns the nodes which are the endpoints of {@code edge} in this network.
       *
       * @throws IllegalArgumentException if {@code edge} is not an element of this network
       */
      EndpointPair<N> incidentNodes(E edge);
    
      /**
       * Returns a live view of the edges which have an {@link #incidentNodes(Object) incident node} in
       * common with {@code edge}. An edge is not considered adjacent to itself.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          ArrayList<Object> edgeList = new ArrayList<>(network.edges());
    
          assertThat(network.nodes()).hasSize(NUM_NODES);
          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
          for (int i = 0; i < numEdgesToRemove; ++i) {
            Object edge = edgeList.get(i);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      }
    
      @Test
      public void edges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactly(E12);
      }
    
      @Test
      public void edges_noEdges() {
        assertThat(network.edges()).isEmpty();
        // Network with no edges, given disconnected nodes
        addNode(N1);
        addNode(N2);
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      }
    
      @Test
      public void edges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactly(E12);
      }
    
      @Test
      public void edges_noEdges() {
        assertThat(network.edges()).isEmpty();
        // Network with no edges, given disconnected nodes
        addNode(N1);
        addNode(N2);
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

        discussion_edges = get_graphql_question_discussion_edges(settings=settings)
    
        while discussion_edges:
            for discussion_edge in discussion_edges:
                discussion_nodes.append(discussion_edge.node)
            last_edge = discussion_edges[-1]
            discussion_edges = get_graphql_question_discussion_edges(
                settings=settings, after=last_edge.cursor
            )
        return discussion_nodes
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/graph/BaseGraph.java

      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    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)
  10. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          ArrayList<Object> edgeList = new ArrayList<>(network.edges());
    
          assertThat(network.nodes()).hasSize(NUM_NODES);
          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
          for (int i = 0; i < numEdgesToRemove; ++i) {
            Object edge = edgeList.get(i);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top