Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 240 for Unordered (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      @CanIgnoreReturnValue
      boolean addEdge(EndpointPair<N> endpoints, E edge);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/ImmutableGraph.java

         * endpoints}) if one is not already present.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be
         * directed; if it is undirected, the added edge will be undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * edges().contains(endpoints)}.
       *
       * <p>Unlike the other {@code EndpointPair}-accepting methods, this method does not throw if the
       * endpoints are unordered; it simply returns false. This is for consistency with the behavior of
       * {@link Collection#contains(Object)} (which does not generally throw if the object cannot be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/Graph.java

     * terms</a>):
     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     * </ul>
     *
     * <p>{@code Graph} explicitly does not support parallel edges, and forbids implementations or
     * extensions with parallel edges. If you need parallel edges, use {@link Network}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the network is directed
         */
        @CanIgnoreReturnValue
        public ImmutableNetwork.Builder<N, E> addEdge(EndpointPair<N> endpoints, E edge) {
          mutableNetwork.addEdge(endpoints, edge);
          return this;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                  Iterators.transform(
                      predecessors().iterator(),
                      (N predecessor) -> EndpointPair.ordered(predecessor, thisNode)),
                  Iterators.transform(
                      successors().iterator(),
                      (N successor) -> EndpointPair.ordered(thisNode, successor)));
        } else {
          resultWithDoubleSelfLoop =
              Iterators.transform(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        populateTShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
                EndpointPair.unordered(1, 3),
                EndpointPair.unordered(4, 5))
            .inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        populateTShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
                EndpointPair.unordered(1, 3),
                EndpointPair.unordered(4, 5))
            .inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

                            (N predecessor) ->
                                graph.isDirected()
                                    ? EndpointPair.ordered(predecessor, node)
                                    : EndpointPair.unordered(predecessor, node)));
                  }
                };
            return nodeInvalidatableSet(incident, node);
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(2, 1))).isFalse();
      }
    
      @Test
      public void hasEdgeConnecting_undirected_correct() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isTrue();
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
Back to Top