## Boost Graph Library Challenge and To-Do Items

- Polish up code/docs for pending items and champion the formal review. The pending items are:

- `container_traits.hpp` (this should also include the work Matt Austern is doing on this topic)
- The queues and heaps: `queue.hpp`, `mutable_queue.hpp`, `fibonacci_heap.hpp`. Somehow merge implementation with Dietmer's heaps and queues.
- `disjoint_sets`

- Construct a set of planar graph algorithms.

- Is the graph planar?
- "Walk around the block" and similar open and closed neighborhood traversals. Note that edge traversals need to resolve to particular ends and sides (see below), not just to the edge as a whole.
- Given a point, find the nearest vertex, edge, or bounded polygon. Again, edges are viewed as having left and right sides.
- Given a line segment, find intersecting vertices, edges, or bounded polygons.
- Given a polygon, find intersecting whatever...
- Various minimum bounding rectangle and clipping problems.
- Construct a planar embedding of a planar graph.
- Find a balanced separator of a graph.
- Modify adjacency_list so that the out-edges can be ordered according to a user defined comparison object.

- Floyd-Warshall algorithm.
- Rewrite the Qhull algorithm using the Boost Graph Library (this is high difficulty challenge). Or, for a more manageable challenge, write an interface for Qhull with the BGL. Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram, and halfspace intersection about a point. Qhull runs in 2-d, 3-d, 4-d, and higher dimensions. Qhull is used for collision detection, animation, plate tectonics, 3-d modeling, robot motion planning, and other applications. It is currently difficult to use from a C++ program.
- Explore the use of Algorithm Objects as an alternative to the current approach with visitors.
- Analyze the algorithms that do not yet have visitors, and come up with visitor interfaces for them.
- Add a check in the adjacency_list class to make sure all the vertex property template arguments have kind=vertex_property_tag and all edge property template arguments have kind=edge_property_tag.
- Clean up the output functions in graph_utility.hpp to use streams, and document all the utility functions. Replace the random number stuff with calls to the boost random number generator.
- Modularize the tests in test/graph.cpp to apply to particular concepts. Make sure there are run-time tests for every BGL concept.
- Write tests for the BGL algorithms. Currently the examples are used as a sanity check, but they do not constitute a real test.
- Write up the examples from Knuth's Stanford GraphBase using the BGL. The file `examples/miles_span.cpp` is a start.
- Create a class to support sub-graph views of a graph, where a sub-graph behaves just like a graph, but shares vertex and edge properties with the original graph. Perhaps even support sub-graphs of sub-graphs, etc.

Copyright © 2000 | Jeremy Siek, Univ.of Notre Dame (jsiek@lsc.nd.edu)