Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-01-25 20:38:23


The vertex index property for an adjacency_list with VertexList=vecS does
not need to be added via the VertexProperty template parameter. You don't
need a "boost::property<vertex_index_t" in this case. What is happening is
that the vertex index property that you are adding to the graph with
"boost::property<vertex_index_t" is overriding the one that is already

Thanks for your question! I'll make the docs more clear about this.


On Thu, 25 Jan 2001, B.T. Adams wrote:

bta> The documentation provided in the 2nd paragraph of the section "Adding
bta> Some Color to your Graph" of
bta> indicates that
bta> the vertex index property map is automatically assigned when a vecS
bta> container is specified for VertexList. I have found this does not
bta> occur, as illustrated by the output:

 Jeremy Siek www:
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906

Boost list run by bdawes at, gregod at, cpdaniel at, john at