- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for transitiveClosure (0.36 seconds)
-
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) -
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)