Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for transitiveClosure_directedGraph_addSelfLoopsAlways (1.8 seconds)

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

      private static final String ERROR_NEGATIVE_COUNT = "is non-negative";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
    
      @Test
      public void transitiveClosure_directedGraph_addSelfLoopsAlways() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build();
        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N2, N3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
Back to Top