diff --git a/doc/BellmanFordVisitor.html b/doc/BellmanFordVisitor.html
index addf198b..65ab652b 100644
--- a/doc/BellmanFordVisitor.html
+++ b/doc/BellmanFordVisitor.html
@@ -79,16 +79,6 @@ none
Name | Expression | Return Type | Description |
-
-| Initialize Vertex |
-vis.initialize_vertex(s, g) |
-void |
-
-This is invoked on every vertex of the graph before the start of the
-graph search.
- |
-
-
| Examine Edge |
vis.examine_edge(e, g) |
diff --git a/include/boost/graph/astar_search.hpp b/include/boost/graph/astar_search.hpp
index 0b0f51f2..e1b95c4a 100644
--- a/include/boost/graph/astar_search.hpp
+++ b/include/boost/graph/astar_search.hpp
@@ -301,6 +301,7 @@ namespace boost {
put(distance, *ui, inf);
put(cost, *ui, inf);
put(predecessor, *ui, *ui);
+ vis.initialize_vertex(*ui, g);
}
put(distance, s, zero);
put(cost, s, h(s));
diff --git a/include/boost/graph/dijkstra_shortest_paths.hpp b/include/boost/graph/dijkstra_shortest_paths.hpp
index ea4b485d..ef6b824c 100644
--- a/include/boost/graph/dijkstra_shortest_paths.hpp
+++ b/include/boost/graph/dijkstra_shortest_paths.hpp
@@ -32,6 +32,7 @@ namespace boost {
struct DijkstraVisitorConcept {
void constraints() {
function_requires< CopyConstructibleConcept >();
+ vis.initialize_vertex(u, g);
vis.discover_vertex(u, g);
vis.examine_vertex(u, g);
vis.examine_edge(e, g);