Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for incidentEdgeOrder (0.28 sec)

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

        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateTShapedGraph();
    
        assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
        populateTShapedGraph();
    
        assertThat(graph.adjacentNodes(1)).containsExactly(2, 4, 3).inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_predecessors_returnsInConnectingEdgeInsertionOrder() {
        assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      }
    
      static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        // We store predecessors and successors in the same map, so double the initial capacity.
        int initialCapacity = INNER_CAPACITY * 2;
    
        List<NodeConnection<N>> orderedNodeConnections;
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            orderedNodeConnections = null;
            break;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. android/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: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/graph/ValueGraph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top