Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for isRedirected (0.12 sec)

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

          requireNonNull(nodeConnections.getWithoutCaching(successor)).removePredecessor(node);
          requireNonNull(connections.removeSuccessor(successor));
          --edgeCount;
        }
        if (isDirected()) { // In undirected graphs, the successor and predecessor sets are equal.
          // Since views are returned, we need to copy the predecessors that will be removed.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Oct 21 01:50:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph));
    
        String graphString = graph.toString();
        assertThat(graphString).contains("isDirected: " + graph.isDirected());
        assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops());
    
        int nodeStart = graphString.indexOf("nodes:");
        int edgeStart = graphString.indexOf("edges:");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/GraphBuilder.java

       * <p>The "queryable" properties are those that are exposed through the {@link Graph} interface,
       * such as {@link Graph#isDirected()}. Other properties, such as {@link #expectedNodeCount(int)},
       * are not set in the new builder.
       */
      public static <N> GraphBuilder<N> from(Graph<N> graph) {
        return new GraphBuilder<N>(graph.isDirected())
            .allowsSelfLoops(graph.allowsSelfLoops())
            .nodeOrder(graph.nodeOrder())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/NetworkBuilder.java

       * such as {@link Network#isDirected()}. Other properties, such as {@link
       * #expectedNodeCount(int)}, are not set in the new builder.
       */
      public static <N, E> NetworkBuilder<N, E> from(Network<N, E> network) {
        return new NetworkBuilder<N, E>(network.isDirected())
            .allowsParallelEdges(network.allowsParallelEdges())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. 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();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ImmutableNetwork.java

        }
        return edgeToReferenceNode.buildOrThrow();
      }
    
      private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) {
        if (network.isDirected()) {
          Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network));
          Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ImmutableNetwork.java

        }
        return edgeToReferenceNode.buildOrThrow();
      }
    
      private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) {
        if (network.isDirected()) {
          Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network));
          Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Graph.java

       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       * </ul>
       *
       * <p>Graph properties besides {@link #isDirected() directedness} do <b>not</b> affect equality.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Graph.java

       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       * </ul>
       *
       * <p>Graph properties besides {@link #isDirected() directedness} do <b>not</b> affect equality.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>The {@link #edgeValueOrDefault(N, N, V) value} of a given edge is the same in both A and
       *       B.
       * </ul>
       *
       * <p>Graph properties besides {@link #isDirected() directedness} do <b>not</b> affect equality.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top