Boost logo

Boost Users :

Subject: Re: [Boost-users] graph
From: Soso F (soso_ss2211_at_[hidden])
Date: 2011-02-09 10:58:21


please could someone tell me how can i read from file using BGL. the data in a
file will be the graph component.
I don,t want to use graphviz, any other way?

thanks

________________________________
From: Nicholas Mario Wardhana <mario.wardhana_at_[hidden]>
To: boost-users_at_[hidden]
Sent: Tue, February 8, 2011 8:32:24 PM
Subject: Re: [Boost-users] graph

On 9 February 2011 05:22, Soso F <soso_ss2211_at_[hidden]> wrote:
> Hello,
>
> I'm using BGL to build a graph which represents a network. I'm wondering if
> I can read a file to be the input " vertices , edges and weight" without
> using graphviz.
>
> Thx
>

Hi,

I think your problem is independent from BGL. Once you can parse the
file and get the data correctly, you can make them the attributes of
your vertices, edges, and weights. You can simply use STL or any other
library.

Best regards,
Nicholas Mario Wardhana
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users



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