Redian新闻
>
Re: 请教一个 graph connectivity 的问题
avatar
y*s
2
你只需要一点点最最起码的图论基本知识就足够回答这个问题了。
而像你现在这样一点点最最起码的基本知识都没有,别人就算给你讲都没法讲。
人太懒了是不行的。
avatar
w*g
3
how about just depth first search from type2 nodes.
it seems type1, type2 nodes are the two sets of nodes in a bipartite graph.
I don't see any advantage of knowing this somehow.

【在 y***s 的大作中提到】
: 你只需要一点点最最起码的图论基本知识就足够回答这个问题了。
: 而像你现在这样一点点最最起码的基本知识都没有,别人就算给你讲都没法讲。
: 人太懒了是不行的。

avatar
w*g
4

Maybe you could search for problems related to graph coloring. I am not sure.
avatar
b*h
5
Maybe Manet doesn't know much about graph theory but I guess it's not good
bashing people like that without giving some suggestions or references. I
guess Manet just needs some keyword to google or some good and easy graph
theory book to read.
I'll recommend "The Algorithm Design Manual" by Steven S. Skiena. My
experience is it's very easy to read and covers common problems with real
implementation. The book also has a CDROM with full book text. Check the book
in your library and copy the whole

【在 y***s 的大作中提到】
: 你只需要一点点最最起码的图论基本知识就足够回答这个问题了。
: 而像你现在这样一点点最最起码的基本知识都没有,别人就算给你讲都没法讲。
: 人太懒了是不行的。

avatar
r*h
6
I may not fully understand this problem.
But if nodes of type 1 are just pick up UNIFORMLY from [1, a] nodes, and if
you want a closed form of A/B/a, I think the result should be like "with prob.
***, and a = ***, it is connected..." Right?
avatar
r*h
7
I guess the certainty may depend only on the total degree of each part only.
(Just a guess, not sure). Then the problem seems to be a pure probability
problem, which requires to decide how to distribute these degress in the nodes
of type one...
By finding the total degree. I am not sure, but I guess you may try on small
A/B, and find some rules. Besides, it seems to only depend on A/B, not a
in this part?
avatar
s*m
8
我大概知道一点图论知识,可是我还是不会计算这个概率

【在 y***s 的大作中提到】
: 你只需要一点点最最起码的图论基本知识就足够回答这个问题了。
: 而像你现在这样一点点最最起码的基本知识都没有,别人就算给你讲都没法讲。
: 人太懒了是不行的。

avatar
m*r
9
It looks like a probability problem, not much graph theory needed.

if
threshold,
avatar
r*n
10
I don't think there is a solution on your problem. Your a is only a upper
bound of the selection for all type 1 nodes. You can always build a connected
graph and a non-connected graph for any a. So you can't judge the connectivity
just based on your a.

not

【在 m*****r 的大作中提到】
: It looks like a probability problem, not much graph theory needed.
:
: if
: threshold,

avatar
y*u
11

Yes, this should be a very difficult problem.
Just consider a much easier case where we put an edge between each pair
of vertices with probability p, and ask if the graph is connected. People
have shown that there exists some threshold for p, if p is below the
threshold, the graph is almost certainly disconnected; if p is above
the threshold, the graph is almost certainly connected. This is called
the phase transition phenomena. More interestingly, many other monotone
properties besides conn

【在 s*m 的大作中提到】
: 我大概知道一点图论知识,可是我还是不会计算这个概率
avatar
s*m
12
那就模拟好了 :)

【在 y***u 的大作中提到】
:
: Yes, this should be a very difficult problem.
: Just consider a much easier case where we put an edge between each pair
: of vertices with probability p, and ask if the graph is connected. People
: have shown that there exists some threshold for p, if p is below the
: threshold, the graph is almost certainly disconnected; if p is above
: the threshold, the graph is almost certainly connected. This is called
: the phase transition phenomena. More interestingly, many other monotone
: properties besides conn

avatar
y*u
13
对啊,transition很sharp,应该很快就知道个大概了.

【在 s*m 的大作中提到】
: 那就模拟好了 :)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。