Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for incidentEdgeIterator (0.31 sec)

  1. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

      public Set<N> predecessors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
      public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) {
        return Iterators.transform(
            adjacentNodeValues.keySet().iterator(),
            (N incidentNode) -> EndpointPair.unordered(thisNode, incidentNode));
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/GraphConnections.java

      /**
       * Returns an iterator over the incident edges.
       *
       * @param thisNode The node that this all of the connections in this class are connected to.
       */
      Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode);
    
      /**
       * Returns the value associated with the edge connecting the origin node to {@code node}, or null
       * if there is no such edge.
       */
      @CheckForNull
      V value(N node);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardValueGraph.java

        IncidentEdgeSet<N> incident =
            new IncidentEdgeSet<N>(this, node) {
              @Override
              public Iterator<EndpointPair<N>> iterator() {
                return connections.incidentEdgeIterator(node);
              }
            };
        return nodeInvalidatableSet(incident, node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          @Override
          public boolean contains(@CheckForNull Object obj) {
            return isSuccessor(adjacentNodeValues.get(obj));
          }
        };
      }
    
      @Override
      public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) {
        checkNotNull(thisNode);
    
        Iterator<EndpointPair<N>> resultWithDoubleSelfLoop;
        if (orderedNodeConnections == null) {
          resultWithDoubleSelfLoop =
              Iterators.concat(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top