- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for DirectedGraphConnections (0.14 seconds)
-
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(
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) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
validateEndpoints(endpoints); return removeEdge(endpoints.nodeU(), endpoints.nodeV()); } private GraphConnections<N, V> newConnections() { return isDirected() ? DirectedGraphConnections.<N, V>of(incidentEdgeOrder) : UndirectedGraphConnections.<N, V>of(incidentEdgeOrder); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
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)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.8K bytes - Click Count (0) -
android/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
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)