Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for nodeOrder (0.13 sec)

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

          Map<E, N> edgeToReferenceNode) {
        this.isDirected = builder.directed;
        this.allowsParallelEdges = builder.allowsParallelEdges;
        this.allowsSelfLoops = builder.allowsSelfLoops;
        this.nodeOrder = builder.nodeOrder.cast();
        this.edgeOrder = builder.edgeOrder.cast();
        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. This optimizes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractValueGraph.this.allowsSelfLoops();
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractValueGraph.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            return AbstractValueGraph.this.incidentEdgeOrder();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ForwardingNetwork.java

        return delegate().allowsParallelEdges();
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
        return delegate().nodeOrder();
      }
    
      @Override
      public ElementOrder<E> edgeOrder() {
        return delegate().edgeOrder();
      }
    
      @Override
      public Set<N> adjacentNodes(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractGraphBuilder.java

     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractGraphBuilder<N> {
      final boolean directed;
      boolean allowsSelfLoops = false;
      ElementOrder<N> nodeOrder = ElementOrder.insertion();
      ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered();
    
      Optional<Integer> expectedNodeCount = Optional.absent();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractValueGraph.java

          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractValueGraph.this.allowsSelfLoops();
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractValueGraph.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            return AbstractValueGraph.this.incidentEdgeOrder();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractNetwork.java

                    && successors((N) endpointPair.nodeU()).contains(endpointPair.nodeV());
              }
            };
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractNetwork.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            // TODO(b/142723300): Return AbstractNetwork.this.incidentEdgeOrder() once Network has that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractNetwork.java

                    && successors((N) endpointPair.nodeU()).contains(endpointPair.nodeV());
              }
            };
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractNetwork.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            // TODO(b/142723300): Return AbstractNetwork.this.incidentEdgeOrder() once Network has that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        AbstractGraphTest.validateGraph(asGraph);
        assertThat(network.nodes()).isEqualTo(asGraph.nodes());
        assertThat(network.edges().size()).isAtLeast(asGraph.edges().size());
        assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(network.isDirected()).isEqualTo(asGraph.isDirected());
        assertThat(network.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
        for (E edge : sanityCheckSet(network.edges())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Network.java

    public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFunction<N> {
      //
      // Network-level accessors
      //
    
      /** Returns all nodes in this network, in the order specified by {@link #nodeOrder()}. */
      Set<N> nodes();
    
      /** Returns all edges in this network, in the order specified by {@link #edgeOrder()}. */
      Set<E> edges();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/ValueGraph.java

    @Beta
    @ElementTypesAreNonnullByDefault
    public interface ValueGraph<N, V> extends BaseGraph<N> {
      //
      // ValueGraph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      @Override
      Set<EndpointPair<N>> edges();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top