Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasCycle_twoParallelEdges (0.17 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

            graph.putEdge(i, i + 1);
          }
        }
        assertThat(hasCycle(directedNetwork)).isFalse();
        assertThat(hasCycle(undirectedNetwork)).isFalse();
      }
    
      @Test
      public void hasCycle_twoParallelEdges() {
        for (MutableNetwork<Integer, String> network : networksToTest) {
          network.addEdge(1, 2, "1-2a");
          network.addEdge(1, 2, "1-2b");
        }
        assertThat(hasCycle(directedNetwork)).isFalse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top