Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 103 for Graph (0.77 sec)

  1. android/guava/src/com/google/common/collect/TreeTraverser.java

     *
     * {@snippet :
     * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes());
     * }
     *
     * @author Louis Wasserman
     * @since 15.0
     * @deprecated Use {@link com.google.common.graph.Traverser} instead. All instance methods have
     *     their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree}
     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/GraphsTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.Graphs.copyOf;
    import static com.google.common.graph.Graphs.inducedSubgraph;
    import static com.google.common.graph.Graphs.reachableNodes;
    import static com.google.common.graph.Graphs.transitiveClosure;
    import static com.google.common.graph.Graphs.transpose;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        // ordered endpoints not compatible with undirected graph
        assertThat(edges).doesNotContain(EndpointPair.ordered(N1, N2));
    
        assertThat(edges).doesNotContain(EndpointPair.unordered(N2, N2)); // edge not present
        assertThat(edges).doesNotContain(EndpointPair.unordered(N3, N4)); // nodes not in graph
      }
    
      @Test
      public void endpointPair_directed_contains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Objects.requireNonNull;
    
    import java.util.Collections;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * {@snippet :
     * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes());
     * }
     *
     * @author Louis Wasserman
     * @since 15.0
     * @deprecated Use {@link com.google.common.graph.Traverser} instead. All instance methods have
     *     their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree}
     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/EndpointPair.java

        return new Unordered<>(nodeV, nodeU);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code graph}. */
      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}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.EdgeType.DIRECTED;
    import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED;
    import static com.google.common.graph.TestUtil.assertNodeNotInGraphErrorMessage;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ForwardingGraph.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.graph;
    
    import com.google.errorprone.annotations.CheckReturnValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top