Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for allowsParallelEdges (0.24 sec)

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

        // In a directed graph, parallel edges cannot introduce a cycle in an acyclic graph.
        // However, in an undirected graph, any parallel edge induces a cycle in the graph.
        if (!network.isDirected()
            && network.allowsParallelEdges()
            && network.edges().size() > network.asGraph().edges().size()) {
          return true;
        }
        return hasCycle(network.asGraph());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top