- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for incidentEdgeOrder (0.27 seconds)
-
android/guava/src/com/google/common/graph/GraphBuilder.java
* * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code * ElementOrder.unordered()} or {@code ElementOrder.stable()}. * @since 29.0 */ public <N1 extends N> GraphBuilder<N1> incidentEdgeOrder(ElementOrder<N1> incidentEdgeOrder) { checkArgument( incidentEdgeOrder.type() == ElementOrder.Type.UNORDERED || incidentEdgeOrder.type() == ElementOrder.Type.STABLE,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) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
}); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableUndirectedGraphTest( boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.undirected()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
private final ElementOrder<N> incidentEdgeOrder; /** Constructs a mutable graph with the properties specified in {@code builder}. */ StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder) { super(builder); incidentEdgeOrder = builder.incidentEdgeOrder.cast(); } @Override public ElementOrder<N> incidentEdgeOrder() { return incidentEdgeOrder; } @Override
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/ValueGraphBuilder.java
* @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code * ElementOrder.unordered()} or {@code ElementOrder.stable()}. * @since 29.0 */ public <N1 extends N> ValueGraphBuilder<N1, V> incidentEdgeOrder( ElementOrder<N1> incidentEdgeOrder) { checkArgument( incidentEdgeOrder.type() == ElementOrder.Type.UNORDERED || incidentEdgeOrder.type() == ElementOrder.Type.STABLE,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) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
}); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest( boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.directed()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
}); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest( boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.directed()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
assertThat(immutableValueGraph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test public void incidentEdgeOrder_fromUnorderedGraph_stable() { ImmutableValueGraph<String, Integer> immutableValueGraph = ImmutableValueGraph.copyOf( ValueGraphBuilder.directed() .incidentEdgeOrder(ElementOrder.unordered()) .<String, Integer>build());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ForwardingValueGraph.java
return delegate().allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return delegate().nodeOrder(); } @Override public ElementOrder<N> incidentEdgeOrder() { return delegate().incidentEdgeOrder(); } @Override public Set<N> adjacentNodes(N node) { return delegate().adjacentNodes(node); } @Override public Set<N> predecessors(N node) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
* * @author James Sexton */ abstract class AbstractGraphBuilder<N> { final boolean directed; boolean allowsSelfLoops = false; ElementOrder<N> nodeOrder = ElementOrder.insertion(); ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered(); @Nullable Integer expectedNodeCount = null; /** * Creates a new instance with the specified edge directionality. *
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) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
private final MutableGraph<N> mutableGraph; Builder(GraphBuilder<N> graphBuilder) { // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to // modify this builder, so we make a copy instead. this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); } /** * Adds {@code node} if it is not already present. *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)