Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GraphConnections (0.06 sec)

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

     * a {@link Graph}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    interface GraphConnections<N, V> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
      /**
       * Returns an iterator over the incident edges.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link GraphConnections} for undirected graphs.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      private final Map<N, V> adjacentNodeValues;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

      }
    
      private static <N, V> ImmutableMap<N, GraphConnections<N, V>> getNodeConnections(
          ValueGraph<N, V> graph) {
        // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have
        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link GraphConnections} for directed graphs.
     *
     * @author James Sexton
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      /**
       * A wrapper class to indicate a node is both a predecessor and successor while still providing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top