- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for successors (0.16 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
} for (N successor : sanityCheckSet(network.successors(node))) { assertThat(network.predecessors(successor)).contains(node); assertThat(network.edgesConnecting(node, successor)).isNotEmpty(); } for (E incidentEdge : sanityCheckSet(network.incidentEdges(node))) { assertTrue( network.inEdges(node).contains(incidentEdge)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
} for (N successor : sanityCheckSet(graph.successors(node))) { allEndpointPairs.add(EndpointPair.of(graph, node, successor)); assertThat(graph.predecessors(successor)).contains(node); assertThat(graph.hasEdgeConnecting(node, successor)).isTrue(); assertThat(graph.incidentEdges(node)).contains(EndpointPair.of(graph, node, successor)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graphIsMutable()).isTrue(); addNode(N1); Set<Integer> successors = graph.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); putEdge(N1, N2); assertThat(graph.successors(N1)).containsExactlyElementsIn(successors); } @Override @Test public void incidentEdges_checkReturnedSetMutability() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assume().that(graphIsMutable()).isTrue(); addNode(N1); Set<Integer> successors = network.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); addEdge(N1, N2, E12); assertThat(successors).containsExactlyElementsIn(network.successors(N1)); } @Test public void edges_containsOrderMismatch() { addEdge(N1, N2, E12);
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
assume().that(graphIsMutable()).isTrue(); addNode(N1); Set<Integer> successors = network.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); addEdge(N1, N2, E12); assertThat(successors).containsExactlyElementsIn(network.successors(N1)); } @Test public void edges_containsOrderMismatch() { addEdge(N1, N2, E12);
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/src/com/google/common/graph/DirectedGraphConnections.java
checkArgument(incidentEdge.nodeU().equals(thisNode)); N successor = incidentEdge.nodeV(); V value = successorNodeToValueFn.apply(successor); Object existingValue = adjacentNodeValues.put(successor, value); if (existingValue != null) { checkArgument(existingValue == PRED); adjacentNodeValues.put(successor, new PredAndSucc(value)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graphIsMutable()).isTrue(); addNode(N1); Set<Integer> successors = graph.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); putEdge(N1, N2); assertThat(graph.successors(N1)).containsExactlyElementsIn(successors); } @Override @Test public void incidentEdges_checkReturnedSetMutability() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
@Override @Test public void successors_checkReturnedSetMutability() { addNode(N1); Set<Integer> successors = network.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); addEdge(N1, N2, E12); assertThat(network.successors(N1)).containsExactlyElementsIn(successors); } @Test public void edges_containsOrderMismatch() { addEdge(N1, N2, E12);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
@Override @Test public void successors_checkReturnedSetMutability() { addNode(N1); Set<Integer> successors = network.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); addEdge(N1, N2, E12); assertThat(network.successors(N1)).containsExactlyElementsIn(successors); } @Test public void edges_containsOrderMismatch() { addEdge(N1, N2, E12);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
} @Override public Set<N> predecessors(N node) { return AbstractNetwork.this.predecessors(node); } @Override public Set<N> successors(N node) { return AbstractNetwork.this.successors(node); } // DO NOT override the AbstractGraph *degree() implementations. }; } @Override public int degree(N node) { if (isDirected()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.1K bytes - Viewed (0)