- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for allowsParallelEdges (0.13 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsParallelEdges()).isFalse(); addEdge(N1, N2, E12); IllegalArgumentException e = assertThrows( IllegalArgumentException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 20.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsParallelEdges()).isFalse(); addEdge(N1, N2, E12); IllegalArgumentException e = assertThrows( IllegalArgumentException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsParallelEdges()).isFalse(); addEdge(N1, N2, E12); IllegalArgumentException e = assertThrows( IllegalArgumentException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
NetworkBuilder<? super N, ? super E> builder, Map<N, NetworkConnections<N, E>> nodeConnections, Map<E, N> edgeToReferenceNode) { this.isDirected = builder.directed; this.allowsParallelEdges = builder.allowsParallelEdges; this.allowsSelfLoops = builder.allowsSelfLoops; this.nodeOrder = builder.nodeOrder.cast(); this.edgeOrder = builder.edgeOrder.cast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardNetwork.java
NetworkBuilder<? super N, ? super E> builder, Map<N, NetworkConnections<N, E>> nodeConnections, Map<E, N> edgeToReferenceNode) { this.isDirected = builder.directed; this.allowsParallelEdges = builder.allowsParallelEdges; this.allowsSelfLoops = builder.allowsSelfLoops; this.nodeOrder = builder.nodeOrder.cast(); this.edgeOrder = builder.edgeOrder.cast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
GraphBuilder.directed().<String>immutable().addNode("B").build(); private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A = NetworkBuilder.directed().allowsParallelEdges(true).expectedNodeCount(10); private static final NetworkBuilder<?, ?> NETWORK_BUILDER_B = NetworkBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
* an edge connecting node A to node B if this {@link Network} has an edge connecting A to B. * * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
return true; } private NetworkConnections<N, E> newConnections() { return isDirected() ? allowsParallelEdges() ? DirectedMultiNetworkConnections.<N, E>of() : DirectedNetworkConnections.<N, E>of() : allowsParallelEdges() ? UndirectedMultiNetworkConnections.<N, E>of() : UndirectedNetworkConnections.<N, E>of(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
@Test public void equivalent_propertiesDiffer() { network.addEdge(N1, N2, E12); MutableNetwork<Integer, String> g2 = NetworkBuilder.from(network) .allowsParallelEdges(!network.allowsParallelEdges()) .allowsSelfLoops(!network.allowsSelfLoops()) .build(); g2.addEdge(N1, N2, E12); assertThat(network).isEqualTo(g2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
@Test public void equivalent_propertiesDiffer() { network.addEdge(N1, N2, E12); MutableNetwork<Integer, String> g2 = NetworkBuilder.from(network) .allowsParallelEdges(!network.allowsParallelEdges()) .allowsSelfLoops(!network.allowsSelfLoops()) .build(); g2.addEdge(N1, N2, E12); assertThat(network).isEqualTo(g2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 5.8K bytes - Viewed (0)