v.net.spanningtree.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <h2>DESCRIPTION</h2>
  2. <em>v.net.spanningtree</em> finds the minimum spanning tree in a
  3. network.
  4. <h2>NOTES</h2>
  5. A spanning tree is a minimum cost subnetwork connecting all nodes in an
  6. undirected network (same forward and backward costs). If a network is
  7. disconnected then the module computes the minimum spanning tree for
  8. each (weakly) connected component. So, strictly speaking,
  9. <em>v.net.spanningtree</em> does not compute spanning tree but a
  10. spanning forest. As the name suggests, a spanning tree is a tree. That
  11. is, it contains no cycles and if a component has N nodes then the tree
  12. has N-1 edges connecting all nodes. <b>Accol</b> is used to specify the
  13. costs of the edges. The <b>output</b> consists of the edges in the
  14. spanning tree.
  15. <h2>EXAMPLES</h2>
  16. Find cheapest set of pipelines connecting all nodes.
  17. <div class="code"><pre>
  18. v.net.spanningtree input=projected_pipelines output=spanningtree accol=cost
  19. </pre></div>
  20. <h2>SEE ALSO</h2>
  21. <em>
  22. <a href="v.net.html">v.net</a>,
  23. <a href="v.net.steiner.html">v.net.steiner</a>
  24. </em>
  25. <h2>AUTHORS</h2>
  26. Daniel Bundala, Google Summer of Code 2009, Student<br>
  27. Wolf Bergenheim, Mentor
  28. <!--
  29. <p>
  30. <i>Last changed: $Date$</i>
  31. -->