|
Boost Users : |
From: trashing_at_[hidden]
Date: 2008-08-25 03:33:02
> Carsten Hoyer wrote:
> > Hi
> > Just turned to Boost - What a fantastic library :)
> >
> > I have a question about the construction of a Graph. I can't figure out how
> > to use boost to represent a graph where each Vertex has several outs. F.ex
> > Vertex 1 has out 1, 2 and 3. Vertex A has in a, b and c. I can then make
> > edges going from 1-a, 1-b, 2-b etc. Like F.ex
> > http://messe.harmony-central.com/Musikmesse05/Content/Native_Instruments/PR/Reaktor-5-interface-lg.jpg
> > Reaktor
> >
> > Any hints?
> > Thank you
> > Carsten
> >
> add_edge(node1, node2, g);
> add_edge(node1, node3, g);
> add_edge(node1, node4, g);
I think Raindog needs vertices with different property types, i.e. vertices should contain data of different type. Am I right?
-- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net