Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EndpointPair (0.14 sec)

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

          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
          public boolean contains(@CheckForNull Object obj) {
            if (!(obj instanceof EndpointPair)) {
              return false;
            }
            EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
            return isOrderingCompatible(endpointPair)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardValueGraph.java

      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        GraphConnections<N, V> connections = checkedConnections(node);
        IncidentEdgeSet<N> incident =
            new IncidentEdgeSet<N>(this, node) {
              @Override
              public Iterator<EndpointPair<N>> iterator() {
                return connections.incidentEdgeIterator(node);
              }
            };
    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)
  3. android/guava/src/com/google/common/graph/BaseGraph.java

      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardNetwork.java

      }
    
      @Override
      public EndpointPair<N> incidentNodes(E edge) {
        N nodeU = checkedReferenceNode(edge);
        // requireNonNull is safe because checkedReferenceNode made sure the edge is in the network.
        N nodeV = requireNonNull(nodeConnections.get(nodeU)).adjacentNode(edge);
        return EndpointPair.of(this, nodeU, nodeV);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphConstants.java

              + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
      static final String NOT_AVAILABLE_ON_UNDIRECTED =
          "Cannot call source()/target() on a EndpointPair from an undirected graph. Consider calling "
              + "adjacentNode(node) if you already have a node, or nodeU()/nodeV() if you don't.";
      static final String EDGE_ALREADY_EXISTS = "Edge %s already exists in the graph.";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top