Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for Undirected (0.37 seconds)

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

      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
    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)
  2. android/guava/src/com/google/common/graph/ValueGraph.java

      //
      // ValueGraph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */
      public static ValueGraphBuilder<Object, Object> undirected() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/ImmutableNetwork.java

        /**
         * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
         * also connect {@code nodeV} to {@code nodeU}.
         *
         * <p>If this network is directed, {@code edge} will be directed in this network; if it is
         * undirected, {@code edge} will be undirected in this network.
         *
         * <p>If this network is directed, {@code endpoints} must be ordered.
         *
    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)
  5. 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)
  6. android/guava/src/com/google/common/graph/Graphs.java

          Graph<?> graph, Object nextNode, @Nullable Object previousNode) {
        if (graph.isDirected() || !Objects.equals(previousNode, nextNode)) {
          return true;
        }
        // This falls into the undirected A->B->A case. The Graph interface does not support parallel
        // edges, so this traversal would require reusing the undirected AB edge.
        return false;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/MutableGraph.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 silently
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    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)
  9. android/guava/src/com/google/common/graph/Graph.java

      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    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)
  10. android/guava/src/com/google/common/graph/GraphBuilder.java

      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
        return new GraphBuilder<>(true);
      }
    
      /** Returns a {@link GraphBuilder} for building undirected graphs. */
      public static GraphBuilder<Object> undirected() {
        return new GraphBuilder<>(false);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top