$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Vertex Weights!!!
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-11-23 13:03:20
On Wed, 23 Nov 2011, Nouf M. wrote:
> Hello,
>
> I have a graph that contains:
> - Vertices with 1.name 2.weight
> - Edges with 1.name 2.weight
>
> I couldnt figure out how to store the weights of the vertices. Is it possible to do that? if yes, then please tell
> me how...
You can use bundled properties for the vertex weights, just like you would
do for edge weights. There does not appear to be a vertex weight
non-bundled property, but you can use one of the similar ones if you want.
-- Jeremiah Willcock