Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for outDegree (0.07 sec)

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

        }
      }
    
      @Override
      public int inDegree(N node) {
        return isDirected() ? predecessors(node).size() : degree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return isDirected() ? successors(node).size() : degree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
        checkNotNull(nodeV);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

          assertThat(graph.degree(node)).isEqualTo(asGraph.degree(node));
          assertThat(graph.inDegree(node)).isEqualTo(asGraph.inDegree(node));
          assertThat(graph.outDegree(node)).isEqualTo(asGraph.outDegree(node));
    
          for (Integer otherNode : graph.nodes()) {
            boolean hasEdge = graph.hasEdgeConnecting(node, otherNode);
            assertThat(hasEdge).isEqualTo(asGraph.hasEdgeConnecting(node, otherNode));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graph.java

       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
    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. guava/src/com/google/common/graph/Graph.java

       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

        }
      }
    
      @Override
      public int inDegree(N node) {
        return isDirected() ? inEdges(node).size() : degree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return isDirected() ? outEdges(node).size() : degree(node);
      }
    
      @Override
      public Set<E> adjacentEdges(E edge) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractNetwork.java

        }
      }
    
      @Override
      public int inDegree(N node) {
        return isDirected() ? inEdges(node).size() : degree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return isDirected() ? outEdges(node).size() : degree(node);
      }
    
      @Override
      public Set<E> adjacentEdges(E edge) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Network.java

       * self-loops twice (equivalently, the number of times an edge touches {@code node}).
       *
       * <p>For directed networks, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected networks, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top