Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for n3 (0.02 sec)

  1. guava/src/com/google/common/graph/EndpointPairIterator.java

       *
       * <pre>
       * Nodes = {N1, N2, N3, N4}
       *    N2           __
       *   /  \         |  |
       * N1----N3      N4__|
       *
       * Visited Nodes = {}
       * EndpointPair [N1, N2] - return
       * EndpointPair [N1, N3] - return
       * Visited Nodes = {N1}
       * EndpointPair [N2, N1] - skip
       * EndpointPair [N2, N3] - return
       * Visited Nodes = {N1, N2}
       * EndpointPair [N3, N1] - skip
       * EndpointPair [N3, N2] - skip
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      @Test
      public void equivalent_connectionsDiffer() {
        network.addEdge(N1, N2, E12);
        network.addEdge(N1, N3, E13);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      @Test
      public void equivalent_connectionsDiffer() {
        network.addEdge(N1, N2, E12);
        network.addEdge(N1, N3, E13);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
    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. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
        // for g2, add 3->1 first, then 1->2
        g2.putEdge(N3, N1);
        g2.putEdge(N1, N2);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
      public void equivalent_edgeDirectionsDiffer() {
        graph.putEdge(N1, N2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
        // for g2, add 3->1 first, then 1->2
        g2.putEdge(N3, N1);
        g2.putEdge(N1, N2);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
      public void equivalent_edgeDirectionsDiffer() {
        graph.putEdge(N1, N2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top