Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,146 for directed (0.06 sec)

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

      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphMutationTest.java

      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

      static final String ERROR_ELEMENT_REMOVED = "used to generate this set";
      private static final String NODE_STRING = "Node";
      private static final String EDGE_STRING = "Edge";
    
      enum EdgeType {
        UNDIRECTED,
        DIRECTED;
      }
    
      private TestUtil() {}
    
      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(NODE_STRING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

    import java.util.AbstractSet;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * A base implementation of {@link NetworkConnections} for directed networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link GraphConnections} for directed graphs.
     *
     * @author James Sexton
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/NetworkConnections.java

      /**
       * Returns the node that is adjacent to the origin node along {@code edge}.
       *
       * <p>In the directed case, {@code edge} is assumed to be an outgoing edge.
       */
      N adjacentNode(E edge);
    
      /**
       * Remove {@code edge} from the set of incoming edges. Returns the former predecessor node.
       *
       * <p>In the undirected case, returns {@code null} if {@code isSelfLoop} is true.
       */
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/StandardValueGraph.java

       * node map.
       */
      StandardValueGraph(
          AbstractGraphBuilder<? super N> builder,
          Map<N, GraphConnections<N, V>> nodeConnections,
          long edgeCount) {
        this.isDirected = builder.directed;
        this.allowsSelfLoops = builder.allowsSelfLoops;
        this.nodeOrder = builder.nodeOrder.cast();
        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. cmd/crossdomain-xml-handler.go

    // or Adobe Acrobat (though not necessarily limited to these), permission to handle data across domains.
    // When clients request content hosted on a particular source domain and that content make requests
    // directed towards a domain other than its own, the remote domain needs to host a cross-domain
    // policy file that grants access to the source domain, allowing the client to continue the transaction.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 18 06:42:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable.
     *   <li>Test cases related to the specific implementation of the {@link Network} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractNetworkTest {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top