Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for indirected (0.07 sec)

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

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */
      public static ValueGraphBuilder<Object, Object> undirected() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/EndpointPairIterator.java

      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
        return graph.isDirected() ? new Directed<N>(graph) : new Undirected<N>(graph);
      }
    
      private EndpointPairIterator(BaseGraph<N> graph) {
        this.graph = graph;
        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        ImmutableNetwork<String, Integer> emptyNetwork =
            NetworkBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ImmutableGraph.java

         * endpoints}) if one is not already present.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be
         * directed; if it is undirected, the added edge will be undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/EndpointPair.java

      static <N> EndpointPair<N> of(Graph<?> graph, N nodeU, N nodeV) {
        return graph.isDirected() ? ordered(nodeU, nodeV) : unordered(nodeU, nodeV);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code network}. */
      static <N> EndpointPair<N> of(Network<?, ?> network, N nodeU, N nodeV) {
        return network.isDirected() ? ordered(nodeU, nodeV) : unordered(nodeU, nodeV);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * that edge to {@code value} (overwriting the existing value, if any).
         *
         * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
         * undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>Values do not have to be unique. However, values must be non-null.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
Back to top