How to find the minimum number of vertices to join disconnected components of a graph?

StackOverflow https://stackoverflow.com/questions/19884270

  •  30-07-2022
  •  | 
  •  

Вопрос

Suppose, i have a graph with fixed number of nodes and edges. However, all the nodes doesn't remain active all the time causing the graph disconnected. In this sort of situation, i want to find out the minimal set of vertices, which in case of remaining active, will keep the graph connected all the time.

How can i solve this problem? Can this problem be mapped to any know problem?

Это было полезно?

Решение

This sounds like Connected Dominating Set.

Другие советы

I think that you are looking for the set of articulation points in a graph!

if so, this is an application of Depth-First Search:

http://www.geeksforgeeks.org/articulation-points-or-cut-vertices-in-a-graph/

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top