avatar
似乎快出成绩了# Actuary - 精算
H*s
1
但愿, 他的 其他 预测 别说对了。 我猜。 P838 的 PD 可能 就是 2006年初。
avatar
p*o
2
【 以下文字转载自 Mathematics 讨论区 】
发信人: pulo (普罗), 信区: Mathematics
标 题: How to efficiently enumerate triangles in a large network?
发信站: BBS 未名空间站 (Mon Aug 16 11:12:59 2010, 美东)
无向图,10万个节点,50万条边。
已经在Matlab中用spconvert读入成上三角的0-1稀疏方阵A。
请问如何迅速找齐满足以下条件的所有(i,j,k)?
iA(i,j)=A(j,k)=A(i,k)=1
三个for循环蛮干的话时间复杂度是节点数的立方,有没有快一些的算法?
avatar
k*0
3
祝大家好运
avatar
g*t
4
虽然不认为他有多大贡献,但他说的倒确实没错过.

【在 H*******s 的大作中提到】
: 但愿, 他的 其他 预测 别说对了。 我猜。 P838 的 PD 可能 就是 2006年初。
avatar
w*g
5
how about this:
while graph not empty
do
pick a vertex V at random
for each pair of different U1, U2 in V's neighbors
do
if edge exists then emit triangle {V, U1, U2}
done
remove V from graph
done
It's not O(N^3), but O(ND^2), D=maximal degree.
One refinement of the algorithm would be to eliminate vertices according to
ascending order of degree, and keep that order as you remove vertices. At
each loop, the removal of one vertex will cause the degree of a few vertices
(the number is m

【在 p**o 的大作中提到】
: 【 以下文字转载自 Mathematics 讨论区 】
: 发信人: pulo (普罗), 信区: Mathematics
: 标 题: How to efficiently enumerate triangles in a large network?
: 发信站: BBS 未名空间站 (Mon Aug 16 11:12:59 2010, 美东)
: 无向图,10万个节点,50万条边。
: 已经在Matlab中用spconvert读入成上三角的0-1稀疏方阵A。
: 请问如何迅速找齐满足以下条件的所有(i,j,k)?
: i: A(i,j)=A(j,k)=A(i,k)=1
: 三个for循环蛮干的话时间复杂度是节点数的立方,有没有快一些的算法?

avatar
r*q
6
good luck!
avatar
p*8
7
Mr.O email is o********[email protected], p838 = b838 = p636透露的
avatar
s*r
8
Fast Counting of Triangles in Large Real Networks:
Algorithms and Laws
avatar
a*b
9
are we supposed to wait until friday?
avatar
D*9
10
it will be out around 6 pm
avatar
l*e
11
foreach edge (u,v)
foreach neighbor w of v
check if (v,w) exists
time O(ED), slightly better :)

【在 w***g 的大作中提到】
: how about this:
: while graph not empty
: do
: pick a vertex V at random
: for each pair of different U1, U2 in V's neighbors
: do
: if edge exists then emit triangle {V, U1, U2}
: done
: remove V from graph
: done

avatar
k*0
12
still not posted..

【在 a*****b 的大作中提到】
: are we supposed to wait until friday?
avatar
f*n
13
哪天?

【在 D******9 的大作中提到】
: it will be out around 6 pm
avatar
l*e
14
lz wants enumerating, not approx counting...

【在 s********r 的大作中提到】
: Fast Counting of Triangles in Large Real Networks:
: Algorithms and Laws

avatar
j*e
15
开始焦虑了。。。。
avatar
A*d
16
guys, do not send emails individually unless you have urgent request.
Otherwise O will feel uncomfortable and overwhelmed by tons of emails. It is
not beneficial to our Chinese group.
I do not know which organization P838 claimed he is in when he talked with O
. The sense is that he must claim he represents an organization otherwise O
won't communicate with him regularly.
I am just curious about which organization P838 claims himself, LIA or NIU
to O. Who knows?

【在 p**8 的大作中提到】
: Mr.O email is o********[email protected], p838 = b838 = p636透露的
avatar
w*g
17
the related work section gives some enumerating methods though.

【在 l******e 的大作中提到】
: lz wants enumerating, not approx counting...
avatar
v*m
18
passed C!
avatar
H*s
19
p888 ===== p838 = b838 = p636 ?
故意放 电子邮件, 捣乱。
avatar
p*o
20
Thanks for your input! I got the codes optimized:
len = length(A);
for i=1:(len-2)
index = find( A(i,(i+1):len)==1 ) +i;
for jj = 1:(length(index)-1)
j=index(jj);
for kk=(jj+1):length(index)
k=index(kk);
if A(j,k)==1
% record (i,j,k)
end
end
end
end
The complexity looks like O( |V|* (|V|+max_degree^2) )
= O(|V|^2) for sparse matrices,
assuming "find" is of O(|V|) and accessing A(j,k) costs O(1).
The most naiv
avatar
j*e
21
haha nailed mlc
avatar
p*6
22
发信人: p838 (只关心EB-2共同利益), 信区: EB23
标 题: Re: July VB:EB2C = Nov 22,2005, EB3C = Aug 15,2003, EB2I =
发信站: BBS 未名空间站 (Wed Jun 9 14:43:11 2010, 美东)
我和他他联系时,还只有LIA,还没有NIU。

is
O
O
avatar
x*g
23
pass mfe, mlc :-)
avatar
p*6
24
how are you? P888
is it a real email address? I never told you the address.

【在 p**8 的大作中提到】
: Mr.O email is o********[email protected], p838 = b838 = p636透露的
avatar
k*0
25
o yeah me 2

【在 x**********g 的大作中提到】
: pass mfe, mlc :-)
avatar
p*6
26
are you 捣乱?

【在 H*******s 的大作中提到】
: p888 ===== p838 = b838 = p636 ?
: 故意放 电子邮件, 捣乱。

avatar
M*e
27
包子。。。
avatar
w*i
28
没看出来排期是那天?
avatar
a*b
29
楼上过了的发包子吧
avatar
N*s
30
good i am indian and will be emailing him like crazy!
avatar
t*y
31
少来,你自己 肯定过了FETE

【在 M***e 的大作中提到】
: 包子。。。
avatar
M*e
32
咳咳,低调。。。 你老发包子吧

【在 t****y 的大作中提到】
: 少来,你自己 肯定过了FETE
avatar
f*u
33
为什么我还查不到成绩...
avatar
w*1
34

SOA only Released Passing Candidate Numbers for the November 2009 Exams
today. You will see your grade on the next Monday.

【在 f*********u 的大作中提到】
: 为什么我还查不到成绩...
avatar
n*e
35
恭喜毛哥!

【在 M***e 的大作中提到】
: 咳咳,低调。。。 你老发包子吧
avatar
t*r
36
FETE, pass here:)
avatar
I*R
37
你们两个老革命都该给新同志做点表率么

【在 M***e 的大作中提到】
: 咳咳,低调。。。 你老发包子吧
avatar
f*u
38
谢谢~ 看到 Passing Candidate Numbers了~

【在 w**********1 的大作中提到】
:
: SOA only Released Passing Candidate Numbers for the November 2009 Exams
: today. You will see your grade on the next Monday.

avatar
M*e
39
莫急,过两个月做完dmac拿完证书我捐几百伪币到版上

【在 I**R 的大作中提到】
: 你们两个老革命都该给新同志做点表率么
avatar
I*R
40
此据
虽然现在利息不高,但是这两个月的利钱,嘿嘿,您琢磨着给添点儿?

【在 M***e 的大作中提到】
: 莫急,过两个月做完dmac拿完证书我捐几百伪币到版上
avatar
x*g
41
2 10 hoho

【在 x**********g 的大作中提到】
: pass mfe, mlc :-)
avatar
k*0
42
呵呵,这不是赤裸裸的。。。

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