Guest User

Error generated by g++ while using boost::push_relabel

a guest
Feb 24th, 2013
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 20.18 KB | None | 0 0
  1. /usr/include/boost/graph/push_relabel_max_flow.hpp: In constructor ‘boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::push_relabel(Graph&, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::vertex_descriptor, boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::vertex_descriptor, VertexIndexMap) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int, boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::vertex_descriptor = unsigned int]:
  2. /usr/include/boost/graph/push_relabel_max_flow.hpp:700:50:   instantiated from ‘typename boost::property_traits<CapacityEdgeMap>::value_type boost::push_relabel_max_flow(Graph&, typename boost::graph_traits<Graph>::vertex_descriptor, typename boost::graph_traits<Graph>::vertex_descriptor, CapacityEdgeMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, CapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, typename boost::property_traits<CapacityEdgeMap>::value_type = long int, typename boost::graph_traits<Graph>::vertex_descriptor = unsigned int]
  3. /home/dilawar/Works/hpc21/bliff/BlifParserAndPartitioner/src/ffcone.cc:663:7:   instantiated from here
  4. /usr/include/boost/graph/push_relabel_max_flow.hpp:182:56: error: conversion from ‘long int’ to non-scalar type ‘boost::detail::push_relabel<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, long int>::edge_descriptor {aka boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>}’ requested
  5. /usr/include/boost/graph/push_relabel_max_flow.hpp: In member function ‘void boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::convert_preflow_to_flow() [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int]:
  6. /usr/include/boost/graph/push_relabel_max_flow.hpp:704:5:   instantiated from ‘typename boost::property_traits<CapacityEdgeMap>::value_type boost::push_relabel_max_flow(Graph&, typename boost::graph_traits<Graph>::vertex_descriptor, typename boost::graph_traits<Graph>::vertex_descriptor, CapacityEdgeMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, CapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, typename boost::property_traits<CapacityEdgeMap>::value_type = long int, typename boost::graph_traits<Graph>::vertex_descriptor = unsigned int]
  7. /home/dilawar/Works/hpc21/bliff/BlifParserAndPartitioner/src/ffcone.cc:663:7:   instantiated from here
  8. /usr/include/boost/graph/push_relabel_max_flow.hpp:490:64: error: conversion from ‘long int’ to non-scalar type ‘boost::detail::push_relabel<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, long int>::edge_descriptor {aka boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>}’ requested
  9. /usr/include/boost/graph/push_relabel_max_flow.hpp: In member function ‘void boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::global_distance_update() [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int]:
  10. /usr/include/boost/graph/push_relabel_max_flow.hpp:410:15:   instantiated from ‘FlowValue boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::maximum_preflow() [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int]
  11. /usr/include/boost/graph/push_relabel_max_flow.hpp:702:43:   instantiated from ‘typename boost::property_traits<CapacityEdgeMap>::value_type boost::push_relabel_max_flow(Graph&, typename boost::graph_traits<Graph>::vertex_descriptor, typename boost::graph_traits<Graph>::vertex_descriptor, CapacityEdgeMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, CapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, typename boost::property_traits<CapacityEdgeMap>::value_type = long int, typename boost::graph_traits<Graph>::vertex_descriptor = unsigned int]
  12. /home/dilawar/Works/hpc21/bliff/BlifParserAndPartitioner/src/ffcone.cc:663:7:   instantiated from here
  13. /usr/include/boost/graph/push_relabel_max_flow.hpp:246:13: error: no matching function for call to ‘boost::detail::push_relabel<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, long int>::is_residual_edge(long int&)
  14. /usr/include/boost/graph/push_relabel_max_flow.hpp:246:13: note: candidate is:
  15. /usr/include/boost/graph/push_relabel_max_flow.hpp:80:19: note: bool boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::is_residual_edge(boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::edge_descriptor) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int, boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::edge_descriptor = boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>]
  16. /usr/include/boost/graph/push_relabel_max_flow.hpp:80:19: note:   no known conversion for argument 1 from ‘long int’ to ‘boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>
  17. /usr/include/boost/graph/push_relabel_max_flow.hpp: In member function ‘void boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::push_flow(boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::edge_descriptor) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int, boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::edge_descriptor = boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>]:
  18. /usr/include/boost/graph/push_relabel_max_flow.hpp:547:17:   instantiated from ‘void boost::detail::push_relabel<Graph, EdgeCapacityMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap, FlowValue>::convert_preflow_to_flow() [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, EdgeCapacityMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, FlowValue = long int]
  19. /usr/include/boost/graph/push_relabel_max_flow.hpp:704:5:   instantiated from ‘typename boost::property_traits<CapacityEdgeMap>::value_type boost::push_relabel_max_flow(Graph&, typename boost::graph_traits<Graph>::vertex_descriptor, typename boost::graph_traits<Graph>::vertex_descriptor, CapacityEdgeMap, ResidualCapacityEdgeMap, ReverseEdgeMap, VertexIndexMap) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, CapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ResidualCapacityEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, ReverseEdgeMap = boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, VertexIndexMap = boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, typename boost::property_traits<CapacityEdgeMap>::value_type = long int, typename boost::graph_traits<Graph>::vertex_descriptor = unsigned int]
  20. /home/dilawar/Works/hpc21/bliff/BlifParserAndPartitioner/src/ffcone.cc:663:7:   instantiated from here
  21. /usr/include/boost/graph/push_relabel_max_flow.hpp:322:52: error: conversion from ‘long int’ to non-scalar type ‘boost::detail::push_relabel<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::bundle_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, vertex_info, edge_info>, boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>, edge_info, long int>, boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_bundle_t, vertex_info, boost::no_property>, unsigned int>, long int>::edge_descriptor {aka boost::detail::edge_desc_impl<boost::bidirectional_tag, unsigned int>}’ requested
Advertisement
Add Comment
Please, Sign In to add comment