About 166,000 results
Open links in new tab
  1. What is the exact definition of undirected graph, directed graph ...

    A unidirectional graph is another name for an undirected graph. A bidirectional graph is a directed graph obtained from an undirected graph by replacing each edge $\ {x,y\}$ by a pair of edges …

  2. algorithms - Find the Simple Cycles in a Directed Graph

    You may be interested in the algorithm presented in this paper: . Donald B. Johnson. SIAM J. COMPUT. Vol. 4, No. 1, March 1975 An algorithm is presented which finds all the elementary …

  3. data structures - What is the difference between directed graph …

    Dec 4, 2020 · What is the difference between directed graph and bidirectional graph? Ask Question Asked 4 years, 11 months ago Modified 3 years, 3 months ago

  4. What do we do instead of DFS on directed graphs?

    Jan 14, 2018 · All the example of DFS I've seen so far are for undirected graph. In a directed graph the basic DFS algorithm won't work because some vertex will be unreachable. The …

  5. Converting a digraph to an undirected graph in a reversible way

    Jan 15, 2014 · I am looking for an algorithm to convert a digraph (directed graph) to an undirected graph in a reversible way, ie the digraph should be reconstructable if we are given the …

  6. How to make a directed graph in python? - Computer Science …

    Jan 4, 2021 · This looks like a . For a Python graph library, you can have a look at networkx. There are other libraries too, like igraph and graph-tool. There are many resources for creating …

  7. terminology - How do we define a tree in a directed graph?

    A quick search pulled up which has this diagram showing an example of directed steiner tree: While not explicitly defined, it coincides with my intuition of what a default directed tree should …

  8. Longest path of directed graph with cycle and now weights

    Feb 17, 2024 · If you have a unweighted directed graph with possible cycles, what algorithm would you use to find the longest path without visiting the same node twice? There can be …

  9. Is Directed Graph a Graph? - Computer Science Stack Exchange

    yes, directed graph is a graph. Actually there can be various kinds of classifications like: undirected graph and directed graph. Other could be simple graph, multi-graph, hyper-graph. …

  10. How to remove cycles from a directed graph

    Apr 10, 2018 · In graph theory, a directed graph may contain directed cycles, a one-way loop of edges. In some applications, such cycles are undesirable, and we wish to eliminate them and …