Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 557 for nodeU (0.22 sec)

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

       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}, and to
       * {@code edgeConnectingOrNull(nodeU, nodeV) != null}.
       *
       * <p>In an undirected network, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      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
    - 21.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MutableGraph.java

       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present.
       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardNetwork.java

        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
      public Set<E> outEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).outEdges(), node);
      }
    
      @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)
  4. android/guava/src/com/google/common/graph/MutableNetwork.java

       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
       * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
       *
       * <p>If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if
       * this network {@link #isDirected()}, else in any order), then this method will have no effect.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/StandardMutableGraph.java

      public boolean removeNode(N node) {
        return backingValueGraph.removeNode(node);
      }
    
      @Override
      public boolean removeEdge(N nodeU, N nodeV) {
        return backingValueGraph.removeEdge(nodeU, nodeV) != null;
      }
    
      @Override
      public boolean removeEdge(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return removeEdge(endpoints.nodeU(), endpoints.nodeV());
      }
    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)
  6. android/guava/src/com/google/common/graph/ForwardingGraph.java

      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        return delegate().hasEdgeConnecting(nodeU, nodeV);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

          return (node.equals(source) && graph.successors(node).contains(target))
              || (node.equals(target) && graph.predecessors(node).contains(source));
        } else {
          if (endpointPair.isOrdered()) {
            return false;
          }
          Set<N> adjacent = graph.adjacentNodes(node);
          Object nodeU = endpointPair.nodeU();
          Object nodeV = endpointPair.nodeV();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
          nodeConnections.put(node, connectionsOf(graph, node));
        }
        return nodeConnections.buildOrThrow();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/BaseGraph.java

       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}.
       *
       * <p>In an undirected graph, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      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
    - 8.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

          assertThat(network.adjacentNodes(nodeU)).contains(nodeV);
          assertThat(network.outEdges(nodeU)).contains(edge);
          assertThat(network.incidentEdges(nodeU)).contains(edge);
          assertThat(network.predecessors(nodeV)).contains(nodeU);
          assertThat(network.adjacentNodes(nodeV)).contains(nodeU);
          assertThat(network.inEdges(nodeV)).contains(edge);
          assertThat(network.incidentEdges(nodeV)).contains(edge);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top