Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for allowsSelfLoops (0.13 sec)

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

      }
    
      @Test
      public void edges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.edges()).containsExactly(E11);
      }
    
      @Test
      public void incidentEdges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Test
      public void edges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.edges()).containsExactly(E11);
      }
    
      @Test
      public void incidentEdges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void adjacentNodes_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        putEdge(N1, N2);
        assertThat(graph.adjacentNodes(N1)).containsExactly(N1, N2);
      }
    
      @Test
      public void predecessors_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.predecessors(N1)).containsExactly(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void edges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.edges()).containsExactly(E11);
      }
    
      @Test
      public void incidentEdges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void adjacentNodes_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        putEdge(N1, N2);
        assertThat(graph.adjacentNodes(N1)).containsExactly(N1, N2);
      }
    
      @Test
      public void predecessors_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.predecessors(N1)).containsExactly(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/GraphsTest.java

        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build();
        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N2, N3);
        directedGraph.addNode(N4);
    
        MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedClosure.putEdge(N1, N1);
        expectedClosure.putEdge(N1, N2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        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:");
        String nodeString = networkString.substring(nodeStart, edgeStart);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void edges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.edges()).containsExactly(E11);
      }
    
      @Test
      public void incidentEdges_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractNetwork.java

          }
    
          @Override
          public boolean isDirected() {
            return AbstractNetwork.this.isDirected();
          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractNetwork.this.allowsSelfLoops();
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractNetwork.this.adjacentNodes(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractNetwork.java

          }
    
          @Override
          public boolean isDirected() {
            return AbstractNetwork.this.isDirected();
          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractNetwork.this.allowsSelfLoops();
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractNetwork.this.adjacentNodes(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top