Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for nodeOrder (0.07 sec)

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

        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.directed()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
      void addNode(Integer n) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java

        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.undirected()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
      void addNode(Integer n) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      MutableNetwork<Integer, String> createGraph() {
        return NetworkBuilder.directed()
            .allowsSelfLoops(allowsSelfLoops)
            .allowsParallelEdges(allowsParallelEdges)
            .nodeOrder(nodeOrder)
            .edgeOrder(edgeOrder)
            .build();
      }
    
      @Override
      void addNode(Integer n) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

        this.allowsParallelEdges = allowsParallelEdges;
        this.nodeOrder = nodeOrder;
        this.edgeOrder = edgeOrder;
      }
    
      @Override
      Network<Integer, String> createGraph() {
        networkBuilder =
            NetworkBuilder.directed()
                .allowsSelfLoops(allowsSelfLoops)
                .allowsParallelEdges(allowsParallelEdges)
                .nodeOrder(nodeOrder)
                .edgeOrder(edgeOrder)
                .immutable();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ForwardingGraph.java

        return delegate().isDirected();
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
        return delegate().nodeOrder();
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return delegate().incidentEdgeOrder();
      }
    
      @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
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ForwardingGraph.java

        return delegate().isDirected();
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
        return delegate().nodeOrder();
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return delegate().incidentEdgeOrder();
      }
    
      @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
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            NetworkBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

       *
       * <p>The default value is {@link ElementOrder#insertion() insertion order}.
       */
      public <N1 extends N> NetworkBuilder<N1, E> nodeOrder(ElementOrder<N1> nodeOrder) {
        NetworkBuilder<N1, E> newBuilder = cast();
        newBuilder.nodeOrder = checkNotNull(nodeOrder);
        return newBuilder;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link Network#edges()}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. android/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)
Back to top