Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UndirectedGraphConnections (0.27 sec)

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

     */
    @ElementTypesAreNonnullByDefault
    final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      private final Map<N, V> adjacentNodeValues;
    
      private UndirectedGraphConnections(Map<N, V> adjacentNodeValues) {
        this.adjacentNodeValues = checkNotNull(adjacentNodeValues);
      }
    
      static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

     */
    @ElementTypesAreNonnullByDefault
    final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      private final Map<N, V> adjacentNodeValues;
    
      private UndirectedGraphConnections(Map<N, V> adjacentNodeValues) {
        this.adjacentNodeValues = checkNotNull(adjacentNodeValues);
      }
    
      static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableGraph.java

            (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ImmutableValueGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
                node, graph.incidentEdges(node), successorNodeToValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
    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. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
                node, graph.incidentEdges(node), successorNodeToValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top