Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 351 for Hedger (0.19 sec)

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

          }
        };
      }
    
      @Override
      @CheckForNull
      public N removeInEdge(E edge, boolean isSelfLoop) {
        if (!isSelfLoop) {
          return removeOutEdge(edge);
        }
        return null;
      }
    
      @Override
      public N removeOutEdge(E edge) {
        N node = super.removeOutEdge(edge);
        Multiset<N> adjacentNodes = getReference(adjacentNodesReference);
        if (adjacentNodes != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ForwardingNetwork.java

      public Set<E> outEdges(N node) {
        return delegate().outEdges(node);
      }
    
      @Override
      public EndpointPair<N> incidentNodes(E edge) {
        return delegate().incidentNodes(edge);
      }
    
      @Override
      public Set<E> adjacentEdges(E edge) {
        return delegate().adjacentEdges(edge);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateStarShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.ordered(2, 1),
                EndpointPair.ordered(1, 4),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/EdgesConnecting.java

    import javax.annotation.CheckForNull;
    
    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #nodeToOutEdge} map means this class only works on networks without parallel edges.
     * See {@link MultiEdgesConnecting} for a class that works with parallel edges.
     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * @return the value previously associated with the edge connecting {@code nodeU} to {@code
       *     nodeV}, or null if there was no such edge.
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
       */
      @CanIgnoreReturnValue
      @CheckForNull
      V putEdgeValue(N nodeU, N nodeV, V value);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        N previousNode = incidentEdgeMap.remove(edge);
        // We're relying on callers to call this method only with an edge that's in the graph.
        return requireNonNull(previousNode);
      }
    
      @Override
      public void addInEdge(E edge, N node, boolean isSelfLoop) {
        if (!isSelfLoop) {
          addOutEdge(edge, node);
        }
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_tensor_handle.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top