v.net.spanningtree.html 1.1 KB

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