Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for incidentEdges (0.32 sec)

  1. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

      private UndirectedMultiNetworkConnections(Map<E, N> incidentEdges) {
        super(incidentEdges);
      }
    
      static <N, E> UndirectedMultiNetworkConnections<N, E> of() {
        return new UndirectedMultiNetworkConnections<>(
            new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR));
      }
    
      static <N, E> UndirectedMultiNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<E> incidentEdges() {
        return Collections.unmodifiableSet(incidentEdgeMap.keySet());
      }
    
      @Override
      public Set<E> inEdges() {
        return incidentEdges();
      }
    
      @Override
      public Set<E> outEdges() {
        return incidentEdges();
      }
    
      @Override
      public N adjacentNode(E edge) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      @Override
      public Set<N> adjacentNodes() {
        return Sets.union(predecessors(), successors());
      }
    
      @Override
      public Set<E> incidentEdges() {
        return new AbstractSet<E>() {
          @Override
          public UnmodifiableIterator<E> iterator() {
            Iterable<E> incidentEdges =
                (selfLoopCount == 0)
                    ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

        return new UndirectedNetworkConnections<>(HashBiMap.<E, N>create(EXPECTED_DEGREE));
      }
    
      static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges));
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ForwardingGraph.java

      }
    
      @Override
      public Set<N> successors(N node) {
        return delegate().successors(node);
      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(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

      }
    
      @Override
      public Set<N> successors(N node) {
        return delegate().successors(node);
      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(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/src/com/google/common/graph/ForwardingNetwork.java

        return delegate().predecessors(node);
      }
    
      @Override
      public Set<N> successors(N node) {
        return delegate().successors(node);
      }
    
      @Override
      public Set<E> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public Set<E> inEdges(N node) {
        return delegate().inEdges(node);
      }
    
      @Override
      public Set<E> outEdges(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)
  8. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      @Override
      public Set<N> adjacentNodes() {
        return Sets.union(predecessors(), successors());
      }
    
      @Override
      public Set<E> incidentEdges() {
        return new AbstractSet<E>() {
          @Override
          public UnmodifiableIterator<E> iterator() {
            Iterable<E> incidentEdges =
                (selfLoopCount == 0)
                    ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top