[Lemon-user] Determining components
Balázs Dezső
deba.mf at gmail.com
Thu Feb 14 15:50:46 CET 2013
s/undirected/undirector/
Balazs
On Thu, Feb 14, 2013 at 2:37 PM, Peter A. Kolski <
Peter.Kolski at physik.tu-berlin.de> wrote:
> Dear LEMON users,
>
> I can't get the following code to work. The command
> countConnectedComponents() works, but not the one when I include a NodeMap:
>
> ListDigraph mGraph;
> ListDigraph::NodeMap<int> mCompIds(mGraph);
> int nrComponents = connectedComponents( undirected(
> mGraph ), mCompIds );
>
>
> Anyone done this before? Did I forget something?
>
> Thank you very much
>
> PETER
>
>
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20130214/522887f0/attachment.html>
More information about the Lemon-user
mailing list