Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for RemoveEdge (0.14 sec)

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

      /**
       * Removes the edge connecting {@code nodeU} to {@code nodeV}, if it is present.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeEdge(N nodeU, N nodeV);
    
      /**
       * Removes the edge connecting {@code endpoints}, if it is present.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * @return the value previously associated with the edge connecting {@code nodeU} to {@code
       *     nodeV}, or null if there was no such edge.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      V removeEdge(N nodeU, N nodeV);
    
      /**
       * Removes the edge connecting {@code endpoints}, if it is present.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/StandardMutableNetwork.java

        for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
          removeEdge(edge);
        }
        nodeConnections.remove(node);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean removeEdge(E edge) {
        checkNotNull(edge, "edge");
    
        N nodeU = edgeToReferenceNode.get(edge);
        if (nodeU == null) {
          return false;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference_helpers.cc

              back_edges_.push_back(
                  BackEdge{e, e->src(), e->src_output(), e->dst(), e->dst_input()});
            }
          }
        }
      }
      for (const BackEdge& be : back_edges_) {
        graph_->RemoveEdge(be.edge);
      }
      return absl::OkStatus();
    }
    
    const std::vector<BackEdgeHelper::BackEdge>& BackEdgeHelper::RemovedEdges()
        const {
      return back_edges_;
    }
    
    Status BackEdgeHelper::Replace() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
          for (int i = 0; i < numEdgesToRemove; ++i) {
            EndpointPair<Integer> edge = edgeList.get(i);
            assertThat(graph.removeEdge(edge.nodeU(), edge.nodeV())).isTrue();
          }
    
          assertThat(graph.nodes()).hasSize(NUM_NODES);
          assertThat(graph.edges()).hasSize(NUM_EDGES - numEdgesToRemove);
          AbstractGraphTest.validateGraph(graph);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse.go

    			return false
    		}
    	}
    
    	// We do not need to redirect the Preds of s0 and s1 to ss,
    	// the following optimization will do this.
    	b.removeEdge(0)
    	if s0 != b && len(s0.Preds) == 0 {
    		s0.removeEdge(0)
    		// Move any (dead) values in s0 to b,
    		// where they will be eliminated by the next deadcode pass.
    		for _, v := range s0.Values {
    			v.Block = b
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * 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
      boolean removeEdge(E edge);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * 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
      boolean removeEdge(E edge);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fuse_comparisons.go

    		v := b.NewValue0(bc.Pos, op, bc.Type)
    		v.AddArg(pc)
    		v.AddArg(bc)
    
    		// Set the combined control value as the control value for b.
    		b.SetControl(v)
    
    		// Modify p so that it jumps directly to b.
    		p.removeEdge(i)
    		p.Kind = BlockPlain
    		p.Likely = BranchUnknown
    		p.ResetControls()
    
    		return true
    	}
    
    	// TODO: could negate condition(s) to merge controls.
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

            TF_RET_CHECK(e->src_output() == 0)
                << "expected constant to have exactly one non-control output, but "
                   "found output index = "
                << e->src_output();
            graph_->RemoveEdge(e);
            graph_->AddEdge(input_cloned, 0, n, dst_input);
          }
        }
      }
      return absl::OkStatus();
    }
    
    Status CloneConstantsForBetterClusteringPassImpl::Run() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top