igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] maxflow


From: 王光辉
Subject: [igraph] maxflow
Date: Fri, 1 May 2009 18:41:53 +0800

Dear Gabor,
 
Thank you very much! I am sorry to bother you. 
 
 
best all
 
guanghui
 
 



 
> Date: Fri, 1 May 2009 12:14:33 +0200
> Subject: Re: [igraph] Version 0.6?
> From: address@hidden
> To: address@hidden
>
> Guanghui,
>
> please don't reply to a completely different thread, this makes the
> mailing list archive messy, e.g:
> http://lists.gnu.org/archive/html/igraph-help/2009-05/threads.html
> If you have a new question, then please start a new message. Thanks.
>
> 2009/5/1 王光辉 <address@hidden>:
> > Hi Gabor,
> >
> > For the problem of maxflow( i want to all the maxflow), is the C-library
> > faster than R-library?
>
> No, it is not. In fact, they are the same. The R package just calls
> the C library. Of course the 'for' loop in C is much faster than in R,
> but I don't think that this would matter for your problem.
>
> > I am not good at it, maybe this is a stupid
> > question. I use the "for" loop to calculate all the maximum flow of a
> > graph(1000 vertices), it is really time-consuming. Thank you for your
> > attention!
>
> Maybe there is some more efficient algorithm to calculate the maximum
> flow from a single source to many targets, I don't know. We don't have
> such algorithms in igaph.
>
> If you really need the maximum flow between all pairs of vertices,
> using igraph, then there is no faster solution than a for loop. If you
> don't necessarily need all of them, then there might be. E.g. if you
> just need the minimum of them and your graph is undirected, then
> graph.mincut() is much faster.
>
> Gabor
>
> > best
> >
> >
> >
> > Guanghui
> >
> [...]
>
> --
> Gabor Csardi <address@hidden> UNIL DGM
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help


立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]