Construct a minimum spanning tree covering a specific subset of the vertices

前端 未结 3 1060
萌比男神i
萌比男神i 2020-12-13 00:22

I have an undirected, positive-edge-weight graph (V,E) for which I want a minimum spanning tree covering a subset k of vertices V (the Steiner tre

3条回答
  •  轮回少年
    2020-12-13 00:47

    The problem you stated is a famous NP-hard problem, called Steiner tree in graphs. There are no known solutions in polynomial time and many believe no such solutions exist.

提交回复
热议问题