|
Boost Users : |
Subject: Re: [Boost-users] problem of getting vertex_index_t property
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2015-07-24 01:26:50
> From: breadbread1984 <breadbread1984_at_[hidden]>
> To: boost-users_at_[hidden]
> Cc:
> Sent: Thursday, July 23, 2015 9:29 AM
> Subject: Re: [Boost-users] problem of getting vertex_index_t property
>
>T hx for your reply. But I use vecS to store vertices instead of setS. The setS
> is for storing edges. There should be something else going wrong.
>> typedef adjacency_list<
>> vecS,setS,directedS,
>> vertex_state,
>> edge_qfunction
>>
>> > Graph;
According to the documentation, you have vecS as out edge container and setS as vertex container. The template parameter list in
http://www.boost.org/doc/libs/1_58_0/libs/graph/doc/adjacency_list.html is given as:
adjacency_list<OutEdgeList, VertexList, Directed, VertexProperties, EdgeProperties, GraphProperties, EdgeList>
-- Jeremiah Willcock
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