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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to