weighted tree generation

From: Diego (spam4diego_at_yahoo.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 20:30:08 +0000 (UTC)

Hello,

For a given undirected graph G(V,E) I would like to generate all possible
rooted trees. How many will there be? If there are a lot, at least I would
like to generate a set of different ones or make a single change to a given
tree.

Secondly, is there any standard method to assign weights to an undirected
graph such that for a given root, the all shortest paths algorithm (e.g.
dijkstra) will yield a given tree? (I guess that you could assign low values
to the links that are elements of the tree and high values for all others,
but can it be proven that it will always yield the given tree?)

Cheers,
Diego

===
diego at aulignac dot com
www.aulignac.com



Relevant Pages

  • weighted tree generation
    ... For a given undirected graph GI would like to generate all ... change to a given tree. ... is there any standard method to assign weights to an ... algorithm will yield a given tree? ...
    (comp.theory)
  • help on graph algorithms - constructing a tree with a mixed criterion
    ... undirected graph. ... to construct a tree T which minimizes the cost with the format ... minimum spanning tree (MST) in graph G, ... As constructing MST and SPT both are in complexity P, ...
    (sci.math)
  • help on constructing a tree with a mixed criterion
    ... undirected graph. ... to construct a tree T which minimizes the cost with the format ... minimum spanning tree (MST) in graph G, ... As constructing MST and SPT both are in complexity P, ...
    (comp.theory)
  • Re: cycle detection in undirected graph
    ... On 13 Apr 2004, venkat wrote: ... > in an undirected graph. ... If it is not a tree, then it has a cycle. ...
    (comp.theory)
  • Re: Another set with cardinality |Z|
    ... In comp.theory Kent Paul Dolan wrote: ... undirected graph with one fewer edges ... What a complicated definition. ... a tree is a strongly connected acyclic graph. ...
    (comp.theory)