Ticket #3426: graph.typo.patch
File graph.typo.patch, 5.5 KB (added by , 13 years ago) |
---|
-
libs/graph/doc/Graph.html
62 62 An edge descriptor corresponds to a unique edge <i>(u,v)</i> in a 63 63 graph. An edge descriptor must be <a 64 64 href="http://www.sgi.com/tech/stl/DefaultConstructible.html">Default Constructible</I>, 65 <a 66 href="http://www.sgi.com/tech/stl/Assignable.html">Assignable</a>, 67 and <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>. 65 <a href="http://www.sgi.com/tech/stl/Assignable.html">Assignable</a>, and 66 <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>. 68 67 </td> 69 68 </tr> 70 69 -
libs/graph/quickbook/concepts/graphs.qbk
13 13 or more efficient to define a graph implicitly based on some functions. 14 14 15 15 The Boost.Graph interface does not appear as a single graph concept. Instead it is 16 factored into much smaller p eices. The reason for this is that the purpose of a16 factored into much smaller pieces. The reason for this is that the purpose of a 17 17 concept is to summarize the requirements for particular algorithms. Any one algorithm 18 18 does not need every kind of graph operation, typically only a small subset. Furthermore, 19 19 there are many graph data-structures that can not provide efficient implementations of … … 222 222 223 223 There are certain sets of graph types that do not allow the addition of parallel edges. 224 224 Specifically, if the EdgeList and OutEdgeList of an [adjacency_list] models 225 [StdUniqueAssociativeContainer], then the graph canno nt be a multigraph.225 [StdUniqueAssociativeContainer], then the graph cannot be a multigraph. 226 226 227 227 [heading Indexed Graphs] 228 Indexed graph provide a specific property, an index, for vertices e, edges or both.229 Many algorithms require vertex or edge indices for "fast" property acces , often228 Indexed graph provide a specific property, an index, for vertices, edges or both. 229 Many algorithms require vertex or edge indices for "fast" property access, often 230 230 declaring exterior properties as `vector`s and using the indices as random access 231 231 iterators to access those properties. These concepts effectively require that 232 232 indices are accessible as interior properties of the graph. 233 233 234 234 These concepts are provided to help describe interface requirements for algorithms 235 235 that allow indices to be provided as an exterior property map. With these concepts, 236 requirements (and interfaces) can be written more disti cntly for algorithms that accept236 requirements (and interfaces) can be written more distinctly for algorithms that accept 237 237 indexed graphs, and those that require adaptation through exterior properties. 238 238 239 239 There are two indexed graph concepts: [VertexIndexGraph] and [EdgeIndexGraph]. -
libs/graph/quickbook/concepts/vertex_index_graph.qbk
91 91 [`G::vertex_index_type`] 92 92 [ 93 93 Returns the index of the given vertex within the graph. This is 94 equ valent to `get(get(vertex_index, g), v)`.94 equivalent to `get(get(vertex_index, g), v)`. 95 95 96 96 *Complexity:* Amortized constant. 97 97 ] -
libs/graph/quickbook/concepts/dfs_visitor.qbk
27 27 [ 28 28 [`vis.start_vertex(v,g)`] 29 29 [ 30 This is invoked on the source ver etx once before the start of the search.30 This is invoked on the source vertex once before the start of the search. 31 31 32 32 *Returns* `void` 33 33 ] … … 51 51 [ 52 52 [`vis.tree_edge(e,g)`] 53 53 [ 54 This is invoked on each edge as it becomes a member of the e ges that theform the54 This is invoked on each edge as it becomes a member of the edges that form the 55 55 search tree. 56 56 57 57 *Returns* `void` … … 60 60 [ 61 61 [`vis.back_edge(v,g)`] 62 62 [ 63 This is invoked on the back edges of the graph. For an un idrected graph there63 This is invoked on the back edges of the graph. For an undirected graph there 64 64 is some ambiguity between tree edges and back edges since the edge /(u,v)/ 65 65 and /(v,u)/ are the same edge, but both `tree_edge(v,g)` and `back_edge(v,g)` 66 66 will be invoked. One way to resolve this ambiguity is to record the tree -
libs/graph/quickbook/concepts/graph.qbk
25 25 [ 26 26 [`graph_traits<G>::edge_descriptor`] 27 27 [ 28 An edge descriptor corresponds to a un qie edge /(u,v)/ in a graph. An edge descriptor28 An edge descriptor corresponds to a unique edge /(u,v)/ in a graph. An edge descriptor 29 29 must be DefaultConstructible, Assignable, and EqualityComparable. Edge descriptors 30 30 are almost always passed by value. 31 31 ]