Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for Directed (0.06 seconds)

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

      /** Creates a new instance with the specified edge directionality. */
      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. */
    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)
  2. android/guava/src/com/google/common/graph/AbstractGraphBuilder.java

       *     false, creates an instance for graphs whose edges are each undirected.
       */
      AbstractGraphBuilder(boolean directed) {
        this.directed = directed;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/GraphBuilder.java

      /** Creates a new instance with the specified edge directionality. */
      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. */
    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)
  4. android/guava/src/com/google/common/graph/NetworkBuilder.java

      /** Creates a new instance with the specified edge directionality. */
      private NetworkBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link NetworkBuilder} for building directed networks. */
      public static NetworkBuilder<Object, Object> directed() {
        return new NetworkBuilder<>(true);
      }
    
      /** Returns a {@link NetworkBuilder} for building undirected networks. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/StandardNetwork.java

     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
     * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * Thread1: acquire(LockA) --X acquire(LockB)
     * Thread2: acquire(LockB) --X acquire(LockC)
     * ...
     * ThreadN: acquire(LockN) --X acquire(LockA)
     * </pre>
     *
     * <p>The implementation detects cycles by constructing a directed graph in which each lock
     * represents a node and each edge represents an acquisition ordering between two locks.
     *
     * <ul>
     *   <li>Each lock adds (and removes) itself to/from a ThreadLocal Set of acquired locks when the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/StandardValueGraph.java

       * node map.
       */
      StandardValueGraph(
          AbstractGraphBuilder<? super N> builder,
          Map<N, GraphConnections<N, V>> nodeConnections,
          long edgeCount) {
        this.isDirected = builder.directed;
        this.allowsSelfLoops = builder.allowsSelfLoops;
        this.nodeOrder = builder.nodeOrder.cast();
        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top