Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for transitiveClosure (0.07 seconds)

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

      public static <N> ImmutableGraph<N> transitiveClosure(
          Graph<N> graph, TransitiveClosureSelfLoopStrategy strategy) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
    
        for (N node : graph.nodes()) {
          // add each node explicitly to include isolated nodes
          transitiveClosure.addNode(node);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

    import static com.google.common.graph.Graphs.copyOf;
    import static com.google.common.graph.Graphs.inducedSubgraph;
    import static com.google.common.graph.Graphs.transitiveClosure;
    import static com.google.common.graph.Graphs.transpose;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

     */
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
      public static <N> Graph<N> transitiveClosure(Graph<N> graph) {
        return Graphs.transitiveClosure(graph);
      }
    
      @SuppressWarnings("PreferredInterfaceType")
      public static <N> Set<N> reachableNodes(Graph<N> graph, N node) {
        return Graphs.reachableNodes(graph, node);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 625 bytes
    - Click Count (0)
Back to Top