Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 265 for Edges (0.04 sec)

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

            return AbstractNetwork.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
            if (allowsParallelEdges()) {
              return super.edges(); // Defer to AbstractGraph implementation.
            }
    
            // Optimized implementation assumes no parallel edges (1:1 edge to EndpointPair mapping).
            return new AbstractSet<EndpointPair<N>>() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractBaseGraph.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/pprof.go

    	}
    	return postProcessNamedEdgeMap(weight, totalWeight)
    }
    
    func sortByWeight(edges []NamedCallEdge, weight map[NamedCallEdge]int64) {
    	sort.Slice(edges, func(i, j int) bool {
    		ei, ej := edges[i], edges[j]
    		if wi, wj := weight[ei], weight[ej]; wi != wj {
    			return wi > wj // want larger weight first
    		}
    		// same weight, order by name/line number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/cmd/internal/pgo/pgo.go

    	// TotalWeight is the aggregated edge weights across the profile. This
    	// helps us determine the percentage threshold for hot/cold
    	// partitioning.
    	TotalWeight int64
    
    	// NamedEdgeMap contains all unique call edges in the profile and their
    	// edge weight.
    	NamedEdgeMap NamedEdgeMap
    }
    
    // NamedCallEdge identifies a call edge by linker symbol names and call site
    // offset.
    type NamedCallEdge struct {
    	CallerName     string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ForwardingGraph.java

      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges()
       * implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ForwardingGraph.java

      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges()
       * implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ForwardingValueGraph.java

      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractValueGraph#edges()} (based on {@link #successors(Object)}) for full
       * edges() implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/critical.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // critical splits critical edges (those that go from a block with
    // more than one outedge to a block with more than one inedge).
    // Regalloc wants a critical-edge-free CFG so it can implement phi values.
    func critical(f *Func) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MultiEdgesConnecting.java

    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    
    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #outEdgeToNode} map allows this class to work on networks with parallel edges. See
     * {@link EdgesConnecting} for a class that is more efficient but forbids parallel edges.
     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractValueGraph.java

        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractValueGraph.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
            return AbstractValueGraph.this.edges();
          }
    
          @Override
          public boolean isDirected() {
            return AbstractValueGraph.this.isDirected();
          }
    
          @Override
          public boolean allowsSelfLoops() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top