5 #include <boost/graph/graph_traits.hpp> 6 #include <boost/graph/adjacency_list.hpp> 10 namespace frechet {
namespace reach {
42 typedef boost::property <boost::vertex_name_t, int>
Name;
43 typedef boost::property <boost::vertex_index_t, std::size_t, Name>
Index;
44 typedef boost::adjacency_list < boost::setS, boost::listS, boost::directedS, Index >
graph_t;
46 typedef boost::graph_traits < graph_t >::vertex_descriptor
vertex_t;
59 typedef boost::shared_ptr<Graph>
ptr;
Graph & operator+=(const Graph &)
boost::graph_traits< graph_t >::vertex_descriptor vertex_t
Graph::ptr transitiveClosure() const
model the mapping of free-space intervals to nodes in a frechet::reach::Graph.
global definitions for all algorithms.
void transitiveClosureInPlace()
boost::adjacency_list< boost::setS, boost::listS, boost::directedS, Index > graph_t
void indexify(Structure &str, int i0) const
boundary interval in the reachability structure. Represents an interval on the boundary of the FreeSp...
std::vector< Pointer > _column_entry
const BoundaryList & horiz() const
boost::property< boost::vertex_index_t, std::size_t, Name > Index
Orientation
Segment Orientation.
boost::shared_ptr< Graph > ptr
Graph(const GraphModel &model, graph_t *ag)
BoundaryList & list(Orientation ori)
Represents a Reachability Graph. Vertices correspond to intervals in the reachability structure,...
void init(Structure &prototype)
void add_edge(int i, int j)
void refine(Structure &str, int i0) const
The Reachability Structure; maintains a list of intervals on the border of Free Space,...
boost::property< boost::vertex_name_t, int > Name
boost::property_map< graph_t, boost::vertex_index_t >::type Vertex2IndexMap
const BoundaryList & vert() const
Graph & operator=(const Graph &)
boost::unordered_map< int, vertex_t > Index2VertexMap