Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DirectedGraphConnections (0.34 sec)

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

            throw new AssertionError(incidentEdgeOrder.type());
        }
    
        return new DirectedGraphConnections<>(
            /* adjacentNodeValues= */ new HashMap<N, Object>(initialCapacity, INNER_LOAD_FACTOR),
            orderedNodeConnections,
            /* predecessorCount= */ 0,
            /* successorCount= */ 0);
      }
    
      static <N, V> DirectedGraphConnections<N, V> ofImmutable(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(node, successorNode, null));
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
                node, graph.incidentEdges(node), successorNodeToValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top