- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for subgraphHasCycle (0.09 seconds)
-
android/guava/src/com/google/common/graph/Graphs.java
} Map<Object, NodeVisitState> visitedNodes = Maps.newHashMapWithExpectedSize(graph.nodes().size()); for (N node : graph.nodes()) { if (subgraphHasCycle(graph, visitedNodes, node)) { return true; } } return false; } /** * Returns true if {@code network} has at least one cycle. A cycle is defined as a non-emptyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0)