Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2004-04-19 09:43:06


Hmmm, this could be a bug, but I don't have time to look into it now:

/home/gregod/Projects/Boost/boost/boost/graph/dijkstra_shortest_paths.hpp: In
   function `void boost::dijkstra_shortest_paths_no_init(const
   VertexListGraph&, typename boost::graph_traits<G>::vertex_descriptor,
   PredecessorMap, DistanceMap, WeightMap, IndexMap, Compare, Combine,
DistInf,
   DistZero, DijkstraVisitor) [with VertexListGraph =
   boost::adjacency_list<boost::listS, boost::vecS, boost::bidirectionalS,
   boost::property<boost::vertex_name_t, std::string, boost::no_property>,
   boost::property<boost::edge_name_t, std::string,
   boost::property<boost::edge_length_t, double,
   boost::property<boost::edge_speed_limit_t, int,
   boost::property<boost::edge_direction_t, char,
   boost::property<boost::edge_snow_route_t, bool, boost::no_property> > > >
>,
   boost::no_property, boost::listS>, DijkstraVisitor =
   boost::dijkstra_visitor<boost::null_visitor>, PredecessorMap =
   boost::iterator_property_map<__gnu_cxx::__normal_iterator<Intersection*,
   std::vector<Intersection, std::allocator<Intersection> > >,
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, Intersection, Intersection&>,
   DistanceMap =
   boost::iterator_property_map<__gnu_cxx::__normal_iterator<double*,
   std::vector<double, std::allocator<double> > >,
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, double, double&>, WeightMap =
   boost::adj_list_edge_property_map<boost::bidirectional_tag, double,
double&,
   size_t, boost::property<boost::edge_name_t, std::string,
   boost::property<boost::edge_length_t, double,
   boost::property<boost::edge_speed_limit_t, int,
   boost::property<boost::edge_direction_t, char,
   boost::property<boost::edge_snow_route_t, bool, boost::no_property> > > >
>,
   boost::edge_length_t>, IndexMap =
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, Compare = std::less<double>,
   Combine = boost::closed_plus<double>, DistInf = double, DistZero =
double]':
/home/gregod/Projects/Boost/boost/boost/graph/dijkstra_shortest_paths.hpp:171:
warning: unused
   parameter `double inf'
/home/gregod/Projects/Boost/boost/boost/graph/dijkstra_shortest_paths.hpp: In
   function `void boost::dijkstra_shortest_paths_no_init(const
   VertexListGraph&, typename boost::graph_traits<G>::vertex_descriptor,
   PredecessorMap, DistanceMap, WeightMap, IndexMap, Compare, Combine,
DistInf,
   DistZero, DijkstraVisitor) [with VertexListGraph =
   boost::adjacency_list<boost::listS, boost::vecS, boost::bidirectionalS,
   boost::property<boost::vertex_name_t, std::string, boost::no_property>,
   boost::property<boost::edge_name_t, std::string,
   boost::property<boost::edge_length_t, double,
   boost::property<boost::edge_speed_limit_t, int,
   boost::property<boost::edge_direction_t, char,
   boost::property<boost::edge_snow_route_t, bool, boost::no_property> > > >
>,
   boost::no_property, boost::listS>, DijkstraVisitor =
   boost::dijkstra_visitor<boost::null_visitor>, PredecessorMap =
   boost::iterator_property_map<__gnu_cxx::__normal_iterator<Intersection*,
   std::vector<Intersection, std::allocator<Intersection> > >,
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, Intersection, Intersection&>,
   DistanceMap =
   boost::iterator_property_map<__gnu_cxx::__normal_iterator<double*,
   std::vector<double, std::allocator<double> > >,
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, double, double&>, WeightMap =
   TravelTimePropertyMap, IndexMap =
   boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_name_t,
   std::string, boost::no_property>, size_t>, Compare = std::less<double>,
   Combine = boost::closed_plus<double>, DistInf = double, DistZero =
double]':
/home/gregod/Projects/Boost/boost/boost/graph/dijkstra_shortest_paths.hpp:171:
warning: unused
   parameter `double inf'

        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk