Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for incidentEdgeOrder (0.18 sec)

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

        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered());
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ImmutableGraph.java

        private final MutableGraph<N> mutableGraph;
    
        Builder(GraphBuilder<N> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractValueGraph.java

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

        Builder(ValueGraphBuilder<N, V> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableValueGraph =
              graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractValueGraph.java

          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractValueGraph.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            return AbstractValueGraph.this.incidentEdgeOrder();
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
            return AbstractValueGraph.this.adjacentNodes(node);
          }
    
          @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. guava/src/com/google/common/graph/ImmutableValueGraph.java

        Builder(ValueGraphBuilder<N, V> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableValueGraph =
              graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractGraphBuilder.java

     */
    @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();
    
      /**
       * Creates a new instance with the specified edge directionality.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

          @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
            //   method.
            return ElementOrder.unordered();
          }
    
          @Override
          public boolean isDirected() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractNetwork.java

          @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
            //   method.
            return ElementOrder.unordered();
          }
    
          @Override
          public boolean isDirected() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractBaseGraph.java

                && nodes().contains(endpointPair.nodeU())
                && successors((N) endpointPair.nodeU()).contains(endpointPair.nodeV());
          }
        };
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return ElementOrder.unordered();
      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        checkNotNull(node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top