I was trying to solve a problem to design an algorithm to determine whether a direct graph is semi-connected. Someone says it can be done by using topological sort every SCC in the graph. And SCC is guaranteed to be DAG. However, I think SCC graph must be a circle, why it is a DAG since DAG mean no circle.
In the graph theory, is a strongly connected component SCC form a DAG?
1.7k Views Asked by XIANG ZUO At
1
There are 1 best solutions below
Related Questions in DIRECTED-ACYCLIC-GRAPHS
- Error in DAG destructor
- Independent Nodes
- An example of finding the longest path in DAG with both positive and negative weights
- Create a Reduced Ordered Binary Decision Diagram from boolean expression in Haskell
- How can I explain the Apache Spark RDD Lineage Graph?
- Applying solution for LCA in DAGs on cyclic graphs?
- Understanding spark process behaviour
- Add a second Exchange 2010 server to enable upgrade to SP3
- Prolog, Determine if graph is acyclic
- Maximum weighted path between two vertices in a directed acyclic Graph
- Longest path between all pairs in a DAG
- Is it practical to store unique paths through a directed acyclic graph?
- DAG - Algorithm to ensure there is a single source and a single sink
- finding static scheduling of DAG for multiprocessors - library?
- What do you call a relation that is transitive and reflexive
Related Questions in STRONGLY-CONNECTED-GRAPH
- Tarjan's strong connected component wrong or my code is wrong?
- How to get a list of edges in python corresponding to a set?
- Strongly Connected Components Quastion
- Finding no. of strongly connected components - wrong answer by my code
- Is DFS faster than BFS when searching a specific node in SSC?
- In the graph theory, is a strongly connected component SCC form a DAG?
- Find a path from vertex s to vertex t with minimal number of color alternates
- Finding the maximum number of nodes are strongly connected, given number of nodes and edges
- Given a list of words, determine whether the words can be chained to form a circle
- Generate random directed connected graph using networkx?
- Difference between a directed cycle and a strongly connected component
- How to break down Strongly Connected Components (SCC) in a graph to obtain smaller and smaller nested cycles in JavaScript?
- A graph with maximum number of strongly connected components
- Anytime strongly connected components via Prolog
- Python Cluster connnected elements with n to m relationship
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You misunderstood the argument.
Suppose you have a graph that has points
A1 <--> A2 <--> A3 --> B1 <--> B2 --> C1 <--> C2and
A1 A2 A3,B1 B2,C1, C2are SCC.Then you treat
A1 A2 A3as a single pointA. Any node connecting to one ofA1 A2 A3is treated as connecting toA, Any node connected from one ofA1 A2 A3is treated as connected fromA. Same for merging points toB,CSo it became
A --> B --> C. It is guaranteed that this is a DAG.