5 #ifndef GBMOT_DEFINITIONS_H 6 #define GBMOT_DEFINITIONS_H 9 #include <boost/graph/properties.hpp> 10 #include <boost/graph/graph_traits.hpp> 11 #include <boost/graph/adjacency_list.hpp> 12 #include "../core/Definitions.h" 13 #include "../core/ObjectData.h" 14 #include "../core/Tracklet.h" 19 typedef boost::property<boost::edge_weight_t, double> EdgeProp;
20 typedef boost::property<boost::vertex_name_t, core::ObjectDataPtr>
22 typedef boost::adjacency_list<
23 boost::listS, boost::vecS, boost::directedS, VertexProp, EdgeProp>
25 typedef boost::graph_traits<DirectedGraph>::vertex_descriptor Vertex;
26 typedef boost::property_map<DirectedGraph, boost::vertex_index_t>::type
28 typedef boost::property_map<DirectedGraph, boost::vertex_name_t >::type
30 typedef boost::iterator_property_map<Vertex*, VertexIndexMap, Vertex, Vertex&>
32 typedef boost::iterator_property_map<double*, VertexIndexMap, double, double&>
36 #endif //GBMOT_DEFINITIONS_H Definition: Definitions.h:16