Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for RemoveNode (0.09 sec)

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

       * Removes {@code node} if it is present; all edges incident to {@code node} will also be removed.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeNode(N node);
    
      /**
       * Removes the edge connecting {@code nodeU} to {@code nodeV}, if it is present.
       *
       * @return the value previously associated with the edge connecting {@code nodeU} to {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MutableNetwork.java

       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeNode(N node);
    
      /**
       * Removes {@code edge} from this network, if it is present.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        putEdge(N1, N1);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
        assertThat(graph.nodes()).isEmpty();
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    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/AbstractStandardUndirectedGraphTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        putEdge(N1, N1);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
        assertThat(graph.nodes()).isEmpty();
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
    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. tensorflow/c/c_api.cc

        }
        if (status->status.ok()) {
          // Add the node to the name-to-node mapping.
          desc->graph->name_map[ret->name()] = ret;
        } else if (ret != nullptr) {
          desc->graph->graph.RemoveNode(ret);
          ret = nullptr;
        }
      }
    
      delete desc;
    
      return ToOperation(ret);
    }
    
    TF_Operation* TF_FinishOperation(TF_OperationDescription* desc,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top