<p>
thanks for any help to a newbie, in a learning phase on a simple example... 
;o-)<br />
<br />
using the min_weight_tree function with a non oriented graph, i do not
understand the result, and for my understanding, the result is not a tree...<br
/>
<br />
before creating a request or bug, i imagine someone can explain more...<br />
<br />
Example:<br />
<br />
ta=[ 1, 1, 1, 2, 2, 2, 3, 4, 5, 8, 7, 6, 6, 6, 6, 6, 9, 9,10,11,12,13,14];<br />
he=[ 2,10,11, 3, 7, 8, 4, 5, 8, 7, 6,11,12,13,14,15,11,10,11,12,13,14,15];<br />
g=make_graph('name',0,15,ta,he);<br />
t=min_weight_tree(1,g);<br />
for i=1:(node_number(g)-1)<br />
        arbre(i,1)=g.tail(t(i));<br />
        arbre(i,2)=g.head(t(i));<br />
end <br />
<br />
-->arbre<br />
 arbre  =<br />
<br />
    1.     2.<br />
    2.     3.<br />
    4.     5.<br />
    5.     8.<br />
    6.     11.<br />
    2.     7.<br />
    2.     8.<br />
    9.     10.<br />
    1.     10.<br />
    1.     11.<br />
    11.    12.<br />
    6.     13.<br />
    6.     14.<br />
    6.     15. <br />
<br />
For me, in a tree, the root is the only node with no head ...<br />
in this example: 1,4,6,9... that is a forest !<br />
<br />
so the result of min_weight_tree is not a tree ? <br />
<br />
i read and read again the help with this strange sentence<br />
<br />If <tt>
        <b>t(i)</b>
      </tt> is the root of the tree:<br />- for j < i, <tt>
        <b>t(j)</b>
      </tt> is the number of the arc in the tree after
          node <tt>
        <b>t(j)</b></tt><br />- for j > i, <tt>
        <b>t(j)</b>
      </tt> is the number of the arc in the tree before
          node <tt>
        <b>t(j)</b>
      </tt><b></b>
</p><p>t(j) is not a node... so what means "after
          node <tt>
        <b>t(j)" </b>and </tt> before
          node <tt>
        <b>t(j)</b> ??</tt></p><tt></tt><p>so i suppose there is an error in
this documentation...</p><p></p><p>again, thanks for any
help</p><p></p><p>pam</p><p></p><p>pam</p><p></p><p></p>