- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for edgeOrder (0.08 sec)
-
guava-tests/test/com/google/common/graph/ElementOrderTest.java
NetworkBuilder.directed().edgeOrder(unordered()).build(); assertThat(network.edgeOrder()).isEqualTo(unordered()); assertThat(network.nodeOrder()).isEqualTo(insertion()); // default } @Test public void edgeOrder_insertion() { MutableNetwork<Integer, String> network = NetworkBuilder.directed().edgeOrder(insertion()).build(); addEdges(network);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
this.nodeOrder = nodeOrder; this.edgeOrder = edgeOrder; } @Override Network<Integer, String> createGraph() { networkBuilder = NetworkBuilder.directed() .allowsSelfLoops(allowsSelfLoops) .allowsParallelEdges(allowsParallelEdges) .nodeOrder(nodeOrder) .edgeOrder(edgeOrder) .immutable(); return networkBuilder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
private final ElementOrder<String> edgeOrder; public StandardMutableDirectedNetworkTest( boolean allowsSelfLoops, boolean allowsParallelEdges, ElementOrder<Integer> nodeOrder, ElementOrder<String> edgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.allowsParallelEdges = allowsParallelEdges; this.nodeOrder = nodeOrder; this.edgeOrder = edgeOrder; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java
private final ElementOrder<String> edgeOrder; public StandardMutableUndirectedNetworkTest( boolean allowsSelfLoops, boolean allowsParallelEdges, ElementOrder<Integer> nodeOrder, ElementOrder<String> edgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.allowsParallelEdges = allowsParallelEdges; this.nodeOrder = nodeOrder; this.edgeOrder = edgeOrder; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
private final ElementOrder<String> edgeOrder; public StandardMutableDirectedNetworkTest( boolean allowsSelfLoops, boolean allowsParallelEdges, ElementOrder<Integer> nodeOrder, ElementOrder<String> edgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.allowsParallelEdges = allowsParallelEdges; this.nodeOrder = nodeOrder; this.edgeOrder = edgeOrder; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
this.nodeOrder = nodeOrder; this.edgeOrder = edgeOrder; } @Override Network<Integer, String> createGraph() { networkBuilder = NetworkBuilder.directed() .allowsSelfLoops(allowsSelfLoops) .allowsParallelEdges(allowsParallelEdges) .nodeOrder(nodeOrder) .edgeOrder(edgeOrder) .immutable(); return networkBuilder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA.allowsSelfLoops()).isEqualTo(networkB.allowsSelfLoops()); assertThat(networkA.nodeOrder()).isEqualTo(networkB.nodeOrder()); assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder()); assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/ForwardingNetwork.java
return delegate().allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return delegate().nodeOrder(); } @Override public ElementOrder<E> edgeOrder() { return delegate().edgeOrder(); } @Override public Set<N> adjacentNodes(N node) { return delegate().adjacentNodes(node); } @Override public Set<N> predecessors(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
* * <p>The default value is {@link ElementOrder#insertion() insertion order}. */ public <E1 extends E> NetworkBuilder<N, E1> edgeOrder(ElementOrder<E1> edgeOrder) { NetworkBuilder<N, E1> newBuilder = cast(); newBuilder.edgeOrder = checkNotNull(edgeOrder); return newBuilder; } /** Returns an empty {@link MutableNetwork} with the properties of this {@link NetworkBuilder}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
this.isDirected = builder.directed; this.allowsParallelEdges = builder.allowsParallelEdges; this.allowsSelfLoops = builder.allowsSelfLoops; this.nodeOrder = builder.nodeOrder.cast(); this.edgeOrder = builder.edgeOrder.cast(); // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. This optimizes // methods that access the same node(s) repeatedly, such as Graphs.removeEdgesConnecting().
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0)