Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for hedge (0.14 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

          return network.outEdges(node);
        }
    
        @Override
        public EndpointPair<N> incidentNodes(E edge) {
          return network.incidentNodes(edge);
        }
    
        @Override
        public Set<E> adjacentEdges(E edge) {
          return network.adjacentEdges(edge);
        }
    
        // _don't_ override edge*Connecting*; we want the behavior from AbstractNetwork
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

        for (N node : graph.nodes()) {
          copy.addNode(node);
        }
        for (EndpointPair<N> edge : graph.edges()) {
          // requireNonNull is safe because the endpoint pair comes from the graph.
          copy.putEdgeValue(
              edge.nodeU(),
              edge.nodeV(),
              requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
        }
        return 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)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                                md.getClassifier(),
                                edge.getArtifactUri(),
                                edge.getSource() == null
                                        ? ""
                                        : edge.getSource().getMd().toString(),
                                edge.isResolved(),
                                edge.getTarget() == null
                                        ? null
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
          for (int i = 0; i < numEdgesToRemove; ++i) {
            Object edge = edgeList.get(i);
            assertThat(network.removeEdge(edge)).isTrue();
          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES);
          assertThat(network.edges()).hasSize(NUM_EDGES - numEdgesToRemove);
    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)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
        // Edge direction handled correctly
        assertThat(network.inEdges(N1)).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/BaseGraph.java

       *
       * @since 29.0
       */
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
    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)
  8. guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

          return network.outEdges(node);
        }
    
        @Override
        public EndpointPair<N> incidentNodes(E edge) {
          return network.incidentNodes(edge);
        }
    
        @Override
        public Set<E> adjacentEdges(E edge) {
          return network.adjacentEdges(edge);
        }
    
        // _don't_ override edge*Connecting*; we want the behavior from AbstractNetwork
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  9. .github/actions/notify-translations/app/main.py

        )
    
        while discussion_edges:
            for discussion_edge in discussion_edges:
                comment_nodes.append(discussion_edge.node)
            last_edge = discussion_edges[-1]
            discussion_edges = get_graphql_translation_discussion_comments_edges(
                settings=settings,
                discussion_number=discussion_number,
                after=last_edge.cursor,
            )
        return comment_nodes
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
        // Edge direction handled correctly
        assertThat(network.inEdges(N1)).isEmpty();
    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)
Back to top