Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for oppositeType (0.1 sec)

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

        MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType));
        g2.putEdge(N1, N2);
    
        assertThat(graph).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but directedness differs.
      @Test
      public void equivalent_selfLoop_directedVsUndirected() {
        graph.putEdge(N1, N1);
    
        MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType));
        g2.putEdge(N1, N1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType));
        g2.putEdge(N1, N2);
    
        assertThat(graph).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but directedness differs.
      @Test
      public void equivalent_selfLoop_directedVsUndirected() {
        graph.putEdge(N1, N1);
    
        MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType));
        g2.putEdge(N1, N1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top