Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DirectedGraphConnections (0.12 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableGraph.java

        Function<N, Presence> edgeValueFn =
            (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top