Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 482 for network (0.1 sec)

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

     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Network.java

     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-network.go

    	internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal,
    		"Total number of bytes received from other peer nodes")
    )
    
    // loadNetworkInternodeMetrics - reads internode network metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	connStats := globalConnStats.toServerConnStats()
    	rpcStats := rest.GetRPCStats()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
        Network<String, String> network1 =
            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
        Network<String, String> network1 =
            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      public void validateUndirectedEdges() {
        for (Integer node : network.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
                  network.inEdges(node), network.outEdges(node), network.incidentEdges(node))
              .testEquals();
          new EqualsTester()
              .addEqualityGroup(
                  network.predecessors(node), network.successors(node), network.adjacentNodes(node))
              .testEquals();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

            assertThat(network.incidentEdges(node).size() + selfLoopCount)
                .isEqualTo(network.inDegree(node) + network.outDegree(node));
            assertThat(network.inEdges(node)).hasSize(network.inDegree(node));
            assertThat(network.outEdges(node)).hasSize(network.outDegree(node));
          } else {
            assertThat(network.predecessors(node)).isEqualTo(network.adjacentNodes(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
      }
    
      @Test
      public void incidentNodes_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentNodes(E11).source()).isEqualTo(N1);
        assertThat(network.incidentNodes(E11).target()).isEqualTo(N1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentEdges(N1)).containsExactly(E11);
      }
    
      @Test
      public void incidentNodes_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.incidentNodes(E11).source()).isEqualTo(N1);
        assertThat(network.incidentNodes(E11).target()).isEqualTo(N1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top