Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for degree (0.05 sec)

  1. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

          if (graph.isDirected()) {
            assertThat(graph.degree(node)).isEqualTo(graph.inDegree(node) + graph.outDegree(node));
            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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Network.java

       *
       * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be
       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
       * in the {@link Graph} view may be less than the degree of the same node in this {@link Network}.
       */
      Graph<N> asGraph();
    
      //
      // Network properties
      //
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

         * group name. This degree of state can be obtained with a Name Query
         * Request or Node Status Request.
         * 
         * 3) All - The NbtAddress will be populated with all state such as mac
         * address, isPermanent, isBeingDeleted, ...etc. This information can only
         * be retrieved with the Node Status request.
         * 
         * The degree of state that an NbtAddress has is dependant on how it was
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N1);
        assertThat(graph.degree(N1)).isEqualTo(2);
        putEdge(N1, N2);
        assertThat(graph.degree(N1)).isEqualTo(3);
      }
    
      @Test
      public void inDegree_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.inDegree(N1)).isEqualTo(2);
        putEdge(N1, N2);
        assertThat(graph.inDegree(N1)).isEqualTo(3);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.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. guava/src/com/google/common/graph/ValueGraph.java

       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
       * Returns the count of {@code node}'s incoming edges (equal to {@code predecessors(node).size()})
       * in a directed graph. In an undirected graph, returns the {@link #degree(Object)}.
       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * group name. This degree of state can be obtained with a Name Query
     * Request or Node Status Request.
     * 
     * 3) All - The NbtAddress will be populated with all state such as mac
     * address, isPermanent, isBeingDeleted, ...etc. This information can only
     * be retrieved with the Node Status request.
     * 
     * The degree of state that an NbtAddress has is dependant on how it was
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N1);
        assertThat(graph.degree(N1)).isEqualTo(2);
        putEdge(N1, N2);
        assertThat(graph.degree(N1)).isEqualTo(3);
      }
    
      @Test
      public void inDegree_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.inDegree(N1)).isEqualTo(2);
        putEdge(N1, N2);
        assertThat(graph.inDegree(N1)).isEqualTo(3);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(network.degree(N1)).isEqualTo(2);
        addEdge(N1, N2, E12);
        assertThat(network.degree(N1)).isEqualTo(3);
      }
    
      @Test
      public void inDegree_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.inDegree(N1)).isEqualTo(1);
        addEdge(N4, N1, E41);
        assertThat(network.inDegree(N1)).isEqualTo(2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top