- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fixedSuccessors (0.12 sec)
-
android/guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(result, "bfaecd"); } @Test public void forGraph_breadthFirst_infinite() { Iterable<Integer> result = Traverser.forGraph(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 4)).containsExactly(0, 1, 2, 3).inOrder(); } @Test public void forGraph_breadthFirst_diamond() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(result, "bfaecd"); } @Test public void forGraph_breadthFirst_infinite() { Iterable<Integer> result = Traverser.forGraph(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 4)).containsExactly(0, 1, 2, 3).inOrder(); } @Test public void forGraph_breadthFirst_diamond() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0)