I have a BGL graph and want to create a spanning tree using BGL.
Starting from a specified vertex, I want to add the shortest edge to my graph which connects with this vertex. From there on, I want to always pick the shortest edge which connects with the graph which exists thus far.
So, I want to add the constraint that every new edge has to be connected to the graph already while staying with the spanning tree criterion that there are no cycles.
It wouldn't be very hard to do this by hand; but since I want to learn something about BGL, I would like to know which algorithm suits my problem best.