- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 20 for incidentEdgeOrder (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
private UndirectedGraphConnections(Map<N, V> adjacentNodeValues) { this.adjacentNodeValues = checkNotNull(adjacentNodeValues); } static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { switch (incidentEdgeOrder.type()) { case UNORDERED: return new UndirectedGraphConnections<>( new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); case STABLE:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test public void copyOf_fromUnorderedGraph_incidentEdgeOrder() { ImmutableGraph<Object> graph = ImmutableGraph.copyOf( GraphBuilder.undirected().incidentEdgeOrder(ElementOrder.unordered()).build()); assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
* {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link * #successors(Object)} and {@link #incidentEdges(Object)}. * * @since 29.0 */ ElementOrder<N> incidentEdgeOrder(); /** * Returns a live view of this graph as a {@link Network} whose edges {@code E} are {@code * EndpointPair<N>} objects (that is, a {@code Network<N, EndpointPair<N>>}). The resulting {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
} @Override public ElementOrder<N> nodeOrder() { return AbstractValueGraph.this.nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { return AbstractValueGraph.this.incidentEdgeOrder(); } @Override public Set<N> adjacentNodes(N node) { return AbstractValueGraph.this.adjacentNodes(node); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
} static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { // We store predecessors and successors in the same map, so double the initial capacity. int initialCapacity = INNER_CAPACITY * 2; List<NodeConnection<N>> orderedNodeConnections; switch (incidentEdgeOrder.type()) { case UNORDERED: orderedNodeConnections = null; break;
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/AbstractBaseGraph.java
&& nodes().contains(endpointPair.nodeU()) && successors((N) endpointPair.nodeU()).contains(endpointPair.nodeV()); } }; } @Override public ElementOrder<N> incidentEdgeOrder() { return ElementOrder.unordered(); } @Override public Set<EndpointPair<N>> incidentEdges(N node) { checkNotNull(node);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
* #successors(Object)} and {@link #incidentEdges(Object)}. * * @since 29.0 */ @Override ElementOrder<N> incidentEdgeOrder(); // // Element-level accessors // /** * Returns a live view of the nodes which have an incident edge in common with {@code node} in * this graph. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateStarShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3, 5).inOrder(); } @Test public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 14.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder(); } @Test public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph(); assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder(); } @Test public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0)