Expected number of Edges required to make a graph connected if the vertices are joined randomly?

ぐ巨炮叔叔 提交于 2019-12-05 23:21:29

问题


We select two vertices randomly and connect them. So what is the expected number of edges in the graph when it becomes connected ?

I tried solving it using induction but couldn't reach to an answer. What will be the right approach to this problem ?


回答1:


For given number of vertices n and chosen count of edges, you get the probability of the graphs connectedness as the proportion of connected graphs to all graphs.

Number of all graphs is the combination number of m over n * (n - 1).

Asymptotic formula for number of connected graphs is given in The asymptotic number of labeled connected graphs with a given number of vertices and edges by Edward A. Bender, E. Rodney Canfield, Brendan D. McKay (don't ask me to explain it :-) )

Last, you have to specify what you mean by "expected number" - you have to choose a probability threshold (like 95%) and search for an m where this formula gives a probability higher than this threshold.



来源:https://stackoverflow.com/questions/9093807/expected-number-of-edges-required-to-make-a-graph-connected-if-the-vertices-are

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!