Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for allowsParallelEdges (0.11 sec)

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

       * an edge connecting node A to node B if this {@link Network} has an edge connecting A to B.
       *
       * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be
       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      @Test
      public void equivalent_propertiesDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 =
            NetworkBuilder.from(network)
                .allowsParallelEdges(!network.allowsParallelEdges())
                .allowsSelfLoops(!network.allowsSelfLoops())
                .build();
        g2.addEdge(N1, N2, E12);
    
        assertThat(network).isEqualTo(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_propertiesDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 =
            NetworkBuilder.from(network)
                .allowsParallelEdges(!network.allowsParallelEdges())
                .allowsSelfLoops(!network.allowsSelfLoops())
                .build();
        g2.addEdge(N1, N2, E12);
    
        assertThat(network).isEqualTo(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/src/com/google/common/graph/Network.java

       * an edge connecting node A to node B if this {@link Network} has an edge connecting A to B.
       *
       * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be
       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top