Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for allowsParallelEdges (0.11 sec)

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

        this.allowsSelfLoops = allowsSelfLoops;
        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      Network<Integer, String> createGraph() {
        networkBuilder =
            NetworkBuilder.directed()
                .allowsSelfLoops(allowsSelfLoops)
                .allowsParallelEdges(allowsParallelEdges)
                .nodeOrder(nodeOrder)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        String networkString = network.toString();
        assertThat(networkString).contains("isDirected: " + network.isDirected());
        assertThat(networkString).contains("allowsParallelEdges: " + network.allowsParallelEdges());
        assertThat(networkString).contains("allowsSelfLoops: " + network.allowsSelfLoops());
    
        int nodeStart = networkString.indexOf("nodes:");
        int edgeStart = networkString.indexOf("edges:");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

      }
    
      static void assertStronglyEquivalent(Network<?, ?> networkA, Network<?, ?> networkB) {
        // Properties not covered by equals()
        assertThat(networkA.allowsParallelEdges()).isEqualTo(networkB.allowsParallelEdges());
        assertThat(networkA.allowsSelfLoops()).isEqualTo(networkB.allowsSelfLoops());
        assertThat(networkA.nodeOrder()).isEqualTo(networkB.nodeOrder());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ForwardingNetwork.java

        return delegate().edges();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
      public boolean allowsParallelEdges() {
        return delegate().allowsParallelEdges();
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.directed()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java

        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.undirected()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.directed()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

        this.allowsSelfLoops = allowsSelfLoops;
        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      Network<Integer, String> createGraph() {
        networkBuilder =
            NetworkBuilder.directed()
                .allowsSelfLoops(allowsSelfLoops)
                .allowsParallelEdges(allowsParallelEdges)
                .nodeOrder(nodeOrder)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MutableNetwork.java

       *     connect {@code nodeU} to {@code nodeV}
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
       */
      @CanIgnoreReturnValue
      boolean addEdge(N nodeU, N nodeV, E edge);
    
      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/NetworkBuilder.java

       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> allowsParallelEdges(boolean allowsParallelEdges) {
        this.allowsParallelEdges = allowsParallelEdges;
        return this;
      }
    
      /**
       * Specifies whether the network will allow self-loops (edges that connect a node to itself).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top