|
Boost : |
From: Jarl Friis (jarl_at_[hidden])
Date: 2003-08-14 04:58:56
Hi.
On http://www.boost.org/libs/graph/doc/graph_concepts.html the image
http://www.boost.org/libs/graph/doc/figs/concepts.gif
There is a spelling error
The bottom line says "AdacencyMatrix" it should be "AdjacencyMatrix"
The class template adjacency_list seem to have wrong documentation, on
http://www.boost.org/libs/graph/doc/adjacency_list.html
The interface is
adjacency_list<EdgeList,
VertexList,
Directed,
VertexProperties,
EdgeProperties,
GraphProperties>
but according to the source code this should be
adjacency_list<OutEdgeList,
VertexList,
Directed,
VertexProperties,
EdgeProperties,
GraphProperties,
EdgeList>
I believe the last template parameter EdgeList is used to determine
return type for the function 'edges(g)' where g is of type
adjacency_list. where as the first one determines the internal
container type for outgoing edges. Am I right?
The book contains the errors too.
Jarl
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk