Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 394 for redirected (0.2 sec)

  1. android/guava/src/com/google/common/graph/GraphBuilder.java

      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
        return new GraphBuilder<>(true);
      }
    
      /** Returns a {@link GraphBuilder} for building undirected graphs. */
      public static GraphBuilder<Object> undirected() {
        return new GraphBuilder<>(false);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

        if (graph.isDirected()) {
          // Note: works for both directed and undirected graphs, but we only use in the directed case.
          for (N node : graph.nodes()) {
            for (N reachableNode : reachableNodes(graph, node)) {
              transitiveClosure.putEdge(node, reachableNode);
            }
          }
        } else {
          // An optimization for the undirected case: for every node B reachable from node A,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EndpointPairIterator.java

      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
        return graph.isDirected() ? new Directed<N>(graph) : new Undirected<N>(graph);
      }
    
      private EndpointPairIterator(BaseGraph<N> graph) {
        this.graph = graph;
        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
        MutableNetwork<String, String> mutableNetwork =
            NetworkBuilder.directed().allowsSelfLoops(true).build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

            new Object[][] {
              {UNDIRECTED}, {DIRECTED},
            });
      }
    
      private final EdgeType edgeType;
    
      public DefaultNetworkImplementationsTest(EdgeType edgeType) {
        this.edgeType = edgeType;
      }
    
      @Before
      public void setUp() throws Exception {
        NetworkBuilder<Object, Object> builder =
            (edgeType == EdgeType.DIRECTED) ? NetworkBuilder.directed() : NetworkBuilder.undirected();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */
      public static ValueGraphBuilder<Object, Object> undirected() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

      //
      // ValueGraph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top