Boost logo

Boost Users :

Subject: Re: [Boost-users] graph
From: Nicholas Mario Wardhana (mario.wardhana_at_[hidden])
Date: 2011-02-08 20:32:24


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 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