argument were mixed up

This commit is contained in:
Sébastien Loriot 2014-06-06 09:21:30 +02:00
parent d0dfac3caa
commit 98bc19fee1
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ well as the distance to the source in such a property map.
Some default property maps are associated with the graph types. They Some default property maps are associated with the graph types. They
are called *internal property maps* and can be retrieved using an are called *internal property maps* and can be retrieved using an
overload of the function `get()`. For example, pm = get(g, overload of the function `get()`. For example, pm = get(boost::vertex_index, g)
boost::vertex_index) returns a property map that associates an index returns a property map that associates an index
in the range `[0, num_vertices(g))` with each vertex of the graph. in the range `[0, num_vertices(g))` with each vertex of the graph.
This reduces the number of parameters to pass. This reduces the number of parameters to pass.
The data itself may be stored in the vertex or the edge, or it may The data itself may be stored in the vertex or the edge, or it may