directed-graph Questions
2
I need to store a directed graph (not necessarily acyclic), so that node deletion is as fast as possible. I wouldn't mind storing additional data in order to know exactly which edges have to go whe...
Mannikin asked 22/2, 2011 at 21:51
1
Solved
I have a cyclic directed graph. Starting at the leaves, I wish to propagate data attached to each node downstream to all nodes that are reachable from that node. In particular, I need to keep pushi...
Prink asked 30/8, 2010 at 18:48
2
Solved
I have tried the following approach:
First I do edge contraction for all the edges in the given set of edges to form a modified graph.
Then I calculate the total number of spanning trees, using t...
Zena asked 3/7, 2010 at 20:0
3
Solved
I have a need for a sparse matrix in up to 4 dimensions in a .NET application. The size of the matrix (if represented as a .NET Array) would potentially top 400MB.
The array is likely to be very s...
Less asked 3/7, 2009 at 0:4
2
Solved
I've been looking around for a Java implementation of the force-directed graph layout algorithm but got no fruits so far. Any help will be appreciated :)
Concurrent asked 6/5, 2010 at 21:59
2
Solved
I can easily define a datatype for a node of a directed graph.
data Node = Node String [Node] derving (Show, Read)
I can save the graph to a file using show function, then restore it using read....
Vachil asked 28/12, 2008 at 0:26
1
Solved
The Erlang digraphs module surprised me by mutating state.
When dealing with other data structure modules in Erlang, for instance the sets module, the instance of the data structure passed in, is ...
Calise asked 3/9, 2009 at 22:52
3
Solved
I need to store a large and dynamic undirected graph in google appengine, what's the best way to do this?
The graph representation must be able to support rapidly pulling out a set of vertices (for...
Outofdoors asked 27/7, 2009 at 10:13
4
Solved
I'm looking for a simple algorithm to 'serialize' a directed graph. In particular I've got a set of files with interdependencies on their execution order, and I want to find the correct order at co...
Labanna asked 7/8, 2008 at 0:22
6
Solved
I have around 3500 flood control facilities that I would like to represent as a network to determine flow paths (essentially a directed graph). I'm currently using SqlServer and a CTE to recursivel...
Luciferase asked 10/10, 2008 at 15:33
2
Solved
I have a list of items (blue nodes below) which are categorized by the users of my application. The categories themselves can be grouped and categorized themselves.
The resulting structure can be ...
Duggins asked 26/11, 2008 at 13:39
© 2022 - 2024 — McMap. All rights reserved.