Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 549 for node3 (0.02 sec)

  1. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graph.java

      int outDegree(N node);
    
      /**
       * 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
       */
      @Override
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Graph.java

      int outDegree(N node);
    
      /**
       * 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
       */
      @Override
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractValueGraph.this.adjacentNodes(node);
          }
    
          @Override
          public Set<N> predecessors(N node) {
            return AbstractValueGraph.this.predecessors(node);
          }
    
          @Override
          public Set<N> successors(N node) {
            return AbstractValueGraph.this.successors(node);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/GraphConstants.java

          "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph "
              + "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.";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

              PARALLEL_EDGES_NOT_ALLOWED,
              nodeU,
              nodeV);
        }
        boolean isSelfLoop = nodeU.equals(nodeV);
        if (!allowsSelfLoops()) {
          checkArgument(!isSelfLoop, SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
        if (connectionsU == null) {
          connectionsU = addNodeInternal(nodeU);
        }
        connectionsU.addOutEdge(edge, nodeV);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

    import java.util.List;
    
    /**
     * MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
     *
     *
     */
    @Deprecated
    public class MetadataGraphNode {
        /** node payload */
        MavenArtifactMetadata metadata;
    
        /** nodes, incident to this (depend on me) */
        List<MetadataGraphNode> inNodes;
    
        /** nodes, exident to this (I depend on) */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. 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();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. 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();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.predecessors(node)).hasSize(graph.inDegree(node));
            assertThat(graph.successors(node)).hasSize(graph.outDegree(node));
          } else {
            int selfLoopCount = graph.adjacentNodes(node).contains(node) ? 1 : 0;
            assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top