Hi, I'm using libbost1.28.0 (the one in Debian Sarge), with gcc version
2.95.4 20011002 (Debian prerelease).
I can compile the libs/graph/example/johnson-eg.cpp example, or copy
part of it's code to my function dnh.cpp and compile it. But if instead
of the adjacency_list graph of the example, I try to pass my own Graph
type to johnson's function, I get a large compiling error message. I'm
quite new to this, but it seems to me as if the error is caused by the
distance matrix, instead of the graph type.
The code has some files, and I use a Makefile for the compilation. I
thought that maybe the best way of allowing whoever wants to help me to
check the error is making a tarball with the involved files. My graph
definition is in header file steiner.hpp.
steiner_io.hpp and steiner_io.cpp are read/write functions that can be
compiled and seem to work well, and should be independent of the error.
The compiling error is caused by line 117 of dnh.cpp. If the input
variable g (my graph) is substituted by G (libboost example's graph),
then the compilation goes fine.
The compilation error log is in file "makelog".
Regards,
Ramón Casero.
----------
/usr/include/boost/graph/graph_concepts.hpp: In method `void boost::BasicMatrixConcept::constraints()':
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:66: instantiated from `boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:112: instantiated from `boost::detail::johnson_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t> >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:129: instantiated from `boost::johnson_all_pairs_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &)'
/datos/uni/pfc/c++/dnh.cpp:117: instantiated from `steiner::dnh<WeightType>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &)'
/datos/uni/pfc/c++/dnh.cpp:50: instantiated from here
/usr/include/boost/graph/graph_concepts.hpp:449: invalid types `int[6][6][void *]' for array subscript
/usr/include/boost/graph/graph_concepts.hpp: In method `void boost::BasicMatrixConcept::const_constraints(const int (&)[6][6])':
/usr/include/boost/graph/graph_concepts.hpp:450: instantiated from `boost::BasicMatrixConcept::constraints()'
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:66: instantiated from `boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:112: instantiated from `boost::detail::johnson_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t> >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:129: instantiated from `boost::johnson_all_pairs_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &)'
/datos/uni/pfc/c++/dnh.cpp:117: instantiated from `steiner::dnh<WeightType>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &)'
/datos/uni/pfc/c++/dnh.cpp:50: instantiated from here
/usr/include/boost/graph/graph_concepts.hpp:454: invalid types `const int[6][6][void *]' for array subscript
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp: In function `bool boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int)':
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:112: instantiated from `boost::detail::johnson_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t> >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:129: instantiated from `boost::johnson_all_pairs_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &)'
/datos/uni/pfc/c++/dnh.cpp:117: instantiated from `steiner::dnh<WeightType>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &)'
/datos/uni/pfc/c++/dnh.cpp:50: instantiated from here
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:72: warning: passing `void *' to argument 2 of `put(int *, int, const int &)' lacks a cast
/usr/include/boost/property_map.hpp: In method `void boost::ReadablePropertyMapConcept::constraints()':
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/property_map.hpp:209: instantiated from `boost::ReadWritePropertyMapConcept::constraints()'
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:117: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:167: instantiated from `boost::detail::bellman_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, const boost::bgl_named_params &)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:181: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, const boost::bgl_named_params &)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:73: instantiated from `boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:112: instantiated from `boost::detail::johnson_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t> >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:129: instantiated from `boost::johnson_all_pairs_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &)'
/datos/uni/pfc/c++/dnh.cpp:117: instantiated from `steiner::dnh<WeightType>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &)'
/datos/uni/pfc/c++/dnh.cpp:50: instantiated from here
/usr/include/boost/property_map.hpp:157: warning: passing `void *' to argument 2 of `get<int>(const int *, int)' lacks a cast
/usr/include/boost/property_map.hpp: In method `void boost::WritablePropertyMapConcept::constraints()':
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/property_map.hpp:210: instantiated from `boost::ReadWritePropertyMapConcept::constraints()'
/usr/include/boost/concept_check.hpp:46: instantiated from `boost::function_requires >(boost::type > *)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:117: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:167: instantiated from `boost::detail::bellman_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, const boost::bgl_named_params &)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:181: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, const boost::bgl_named_params &)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:73: instantiated from `boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:112: instantiated from `boost::detail::johnson_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t> >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:129: instantiated from `boost::johnson_all_pairs_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &)'
/datos/uni/pfc/c++/dnh.cpp:117: instantiated from `steiner::dnh<WeightType>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &)'
/datos/uni/pfc/c++/dnh.cpp:50: instantiated from here
/usr/include/boost/property_map.hpp:186: warning: passing `void *' to argument 2 of `put(int *, int, const int &)' lacks a cast
/usr/include/boost/graph/relax.hpp: In function `bool boost::relaxboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int> >(boost::detail::edge_desc_impl, const boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>)':
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:127: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor >(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::dummy_property_map, int *, boost::closed_plus<int>, less<int>, boost::bellman_visitorboost::null_visitor)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:167: instantiated from `boost::detail::bellman_dispatchboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, int *, const boost::bgl_named_params &)'
/usr/include/boost/graph/bellman_ford_shortest_paths.hpp:181: instantiated from `boost::bellman_ford_shortest_pathsboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, unsigned int, int *, boost::vertex_distance_t, boost::no_property>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, unsigned int, const boost::bgl_named_params &)'
/usr/include/boost/graph/johnson_all_pairs_shortest.hpp:73: instantiated from `boost::detail::johnson_implboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>, int[6][6], int *, boost::vertex_distance_t, boost::no_property, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight_t>, boost::adj_list_edge_property_mapboost::edge_weight2_t,int,boost::no_property >,boost::edge_weight2_t>, int>(boost::adjacency_listboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS> &, int (&)[6][6], const boost::bgl_named_params &, boost::adj_list_vertex_property_mapboost::vertex_to_be_spanned_t,bool,boost::no_property >,boost::propertyboost::edge_weight2_t,int,boost::no_property >,boost::no_property,boost::listS>,int,const int &,boost::vertex_index_t>, int *, boost::adj_list_edge_property_map