Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for subgraphHasCycle (0.23 seconds)

  1. 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-empty
    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)
Back to Top