Boost logo

Boost Users :

Subject: Re: [Boost-users] [graph] How to find the number of adjacent nodes
From: Tobias Columbus (t.columbus_at_[hidden])
Date: 2009-12-22 05:37:13


Hi Suresh,

There are non-member functions called out_degree and in_degree.
Their signature is documented in
http://www.boost.org/doc/libs/1_41_0/libs/graph/doc/adjacency_list.html

Regards
Tobias

On Tuesday 22 December 2009 03:26:26 am Suresh Kumar wrote:
> Hi
>
> Is there any easy method to find out the number of adjacent nodes in a
> graph? I am using adjacency_list with listS as parameters. Hence I i
am
> unable to subtract the vertex iterator values returned by
adjacent_vertices.
>
> Thanks
> suresh
>
> --
> R. Suresh Kumar
> PhD Student, Vislab
> #216, Engineering II Bldg
> University of California, Riverside,
>

-- 
__________________________
Tobias Columbus
t.columbus_at_[hidden]

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