Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for asGraph (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

            this.asResolvedTree = asResolvedTree;
            return this;
        }
    
        public boolean isAsGraph() {
            return asGraph;
        }
    
        public MetadataResolutionRequest setAsGraph(boolean asGraph) {
            this.asGraph = asGraph;
            return this;
        }
    
        public MetadataResolutionRequest setScope(String scope) {
            this.scope = scope;
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        Graph<N> asGraph = network.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(network.nodes()).isEqualTo(asGraph.nodes());
        assertThat(network.edges().size()).isAtLeast(asGraph.edges().size());
        assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(network.isDirected()).isEqualTo(asGraph.isDirected());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        EndpointPair<Integer> endpointsN1N2 = EndpointPair.unordered(N1, N2);
        EndpointPair<Integer> endpointsN2N1 = EndpointPair.unordered(N2, N1);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN1N2);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN2N1);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        EndpointPair<Integer> endpointsN1N2 = EndpointPair.unordered(N1, N2);
        EndpointPair<Integer> endpointsN2N1 = EndpointPair.unordered(N2, N1);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN1N2);
        assertThat(network.asGraph().edges()).doesNotContain(endpointsN2N1);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void edges_containsOrderMismatch() {
        addEdge(N1, N2, E12);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N2N1);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N1N2);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void edges_containsOrderMismatch() {
        addEdge(N1, N2, E12);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N2N1);
        assertThat(network.asGraph().edges()).doesNotContain(ENDPOINTS_N1N2);
      }
    
      @Test
      public void edgesConnecting_orderMismatch() {
        addEdge(N1, N2, E12);
        IllegalArgumentException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(transpose).isEqualTo(expectedTranspose);
        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose.asGraph());
    
        assertThat(transpose.edgeValueOrDefault(N1, N2, null)).isNull();
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractNetwork.java

     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractNetwork<N, E> implements Network<N, E> {
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractNetwork.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractNetwork.java

     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractNetwork<N, E> implements Network<N, E> {
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractNetwork.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top