Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for incidentEdges (0.08 sec)

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

      public Set<E> adjacentEdges(E edge) {
        EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
        Set<E> endpointPairIncidentEdges =
            Sets.union(incidentEdges(endpointPair.nodeU()), incidentEdges(endpointPair.nodeV()));
        return edgeInvalidatableSet(
            Sets.difference(endpointPairIncidentEdges, ImmutableSet.of(edge)), edge);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

                .<Integer, String>immutable()
                .putEdgeValue(2, 1, "2-1")
                .putEdgeValue(2, 3, "2-3")
                .putEdgeValue(1, 2, "1-2")
                .build();
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ElementOrder.java

       *         <li>{@code incidentEdges(node)}: Edge insertion order
       *       </ul>
       *   <li>For {@link Network}:
       *       <ul>
       *         <li>{@code adjacentNodes(node)}: Stable order
       *         <li>{@code predecessors(node)}: Connecting edge insertion order
       *         <li>{@code successors(node)}: Connecting edge insertion order
       *         <li>{@code incidentEdges(node)}: Stable order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardNetwork.java

        return nodeOrder;
      }
    
      @Override
      public ElementOrder<E> edgeOrder() {
        return edgeOrder;
      }
    
      @Override
      public Set<E> incidentEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).incidentEdges(), node);
      }
    
      @Override
      public EndpointPair<N> incidentNodes(E edge) {
        N nodeU = checkedReferenceNode(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

       *         <li>{@code incidentEdges(node)}: Edge insertion order
       *       </ul>
       *   <li>For {@link Network}:
       *       <ul>
       *         <li>{@code adjacentNodes(node)}: Stable order
       *         <li>{@code predecessors(node)}: Connecting edge insertion order
       *         <li>{@code successors(node)}: Connecting edge insertion order
       *         <li>{@code incidentEdges(node)}: Stable order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/StandardNetwork.java

        return nodeOrder;
      }
    
      @Override
      public ElementOrder<E> edgeOrder() {
        return edgeOrder;
      }
    
      @Override
      public Set<E> incidentEdges(N node) {
        return nodeInvalidatableSet(checkedConnections(node).incidentEdges(), node);
      }
    
      @Override
      public EndpointPair<N> incidentNodes(E edge) {
        N nodeU = checkedReferenceNode(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

       */
      @Override
      Set<EndpointPair<N>> incidentEdges(N node);
    
      /**
       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Network.java

      /**
       * Returns the count of {@code node}'s {@link #incidentEdges(Object) incident edges}, counting
       * self-loops twice (equivalently, the number of times an edge touches {@code node}).
       *
       * <p>For directed networks, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected networks, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/NetworkConnections.java

     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    interface NetworkConnections<N, E> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
      Set<E> incidentEdges();
    
      Set<E> inEdges();
    
      Set<E> outEdges();
    
      /**
       * Returns the set of edges connecting the origin node to {@code node}. For networks without
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

       * ValueGraph#adjacentNodes(Object)}, {@link ValueGraph#predecessors(Object)}, {@link
       * ValueGraph#successors(Object)} and {@link ValueGraph#incidentEdges(Object)}.
       *
       * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For
       * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top