Re: [Haskell-cafe] Breaking cycles in a directed graph.

2006-07-13 Thread Jens Fisseler
Hi Daniel, R.C. Read, R.E. Tarjan. Bounds on Backtrack Algorithms for Listing Cycles, Paths and Spanning Trees. Networks 5: 237-252, 1975, section 8.3, Cycles, of Edward M. Reingold, Jurg Nievergelt, Narsing Deo. Combinatorial Algorithms: Theory and Practice. Prentice-Hall, Englewood

Re: [Haskell-cafe] Breaking cycles in a directed graph.

2006-07-12 Thread Jason Dagit
On 7/12/06, Jens Fisseler [EMAIL PROTECTED] wrote: Hi Daniel, I want to detect all cycles within the graph and 'break' them by inserting a minimal number of nodes that are labelled with a special cycle-breaker label. Can anyone give me advice on a good algorithm for finding the cycles and

Re: [Haskell-cafe] Breaking cycles in a directed graph.

2006-07-12 Thread Daniel McAllansmith
On Wednesday 12 July 2006 21:11, Henning Thielemann wrote: On Wed, 12 Jul 2006, Daniel McAllansmith wrote: Hello. I'm currently using Data.Graph.Inductive to represent a directed graph. I want to detect all cycles within the graph and 'break' them by inserting a minimal number of

[Haskell-cafe] Breaking cycles in a directed graph.

2006-07-11 Thread Daniel McAllansmith
Hello. I'm currently using Data.Graph.Inductive to represent a directed graph. I want to detect all cycles within the graph and 'break' them by inserting a minimal number of nodes that are labelled with a special cycle-breaker label. Can anyone give me advice on a good algorithm for finding