Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 247 for Hedger (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/eager/immediate_execution_operation.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  10. 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 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top