& params, PredecessorMap pred) { return biconnected_components_impl (g, comp, out, index_map, dtm, lowpt, pred, choose_param(get_param(params, graph_visitor), make_dfs_visitor(null_visitor()))); } }; template <> struct bicomp_dispatch3 { template static std::pair apply (const Graph & g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, LowPointMap lowpt, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertex_descriptor vertex_t; std::vector pred(num_vertices(g)); vertex_t vert = graph_traits::null_vertex(); return biconnected_components_impl (g, comp, out, index_map, dtm, lowpt, make_iterator_property_map(pred.begin(), index_map, vert), choose_param(get_param(params, graph_visitor), make_dfs_visitor(null_visitor()))); } }; template struct bicomp_dispatch2 { template static std::pair apply (const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, const bgl_named_params& params, LowPointMap lowpt) { typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, lowpt, params, get_param(params, vertex_predecessor)); } }; template <> struct bicomp_dispatch2 { template static std::pair apply (const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector lowpt(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, make_iterator_property_map(lowpt.begin(), index_map, vst), params, get_param(params, vertex_predecessor)); } }; template struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params, error_property_not_found) { typedef typename graph_traits::vertex_descriptor vertex_t; std::vector pred(num_vertices(g)); vertex_t vert = graph_traits::null_vertex(); return biconnected_components_impl (g, comp, out, index_map, dtm, lowpt, make_iterator_property_map(pred.begin(), index_map, vert), choose_param(get_param(params, graph_visitor), make_dfs_visitor(null_visitor()))); } }; template struct bicomp_dispatch2 { template static std::pair apply (const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, const bgl_named_params& params, LowPointMap lowpt) { typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, lowpt, params, get_param(params, vertex_predecessor)); } }; template <> struct bicomp_dispatch2 { template static std::pair apply (const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector lowpt(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, make_iterator_property_map(lowpt.begin(), index_map, vst), params, get_param(params, vertex_predecessor)); } }; template struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params, LowPointMap lowpt) { typedef typename property_value< bgl_named_params
, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, lowpt, params, get_param(params, vertex_predecessor)); } }; template <> struct bicomp_dispatch2 { template static std::pair apply (const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, DiscoverTimeMap dtm, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector lowpt(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, make_iterator_property_map(lowpt.begin(), index_map, vst), params, get_param(params, vertex_predecessor)); } }; template struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector lowpt(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, make_iterator_property_map(lowpt.begin(), index_map, vst), params, get_param(params, vertex_predecessor)); } }; template struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
, vertex_predecessor_t>::type dispatch_type; return bicomp_dispatch3::apply (g, comp, out, index_map, dtm, make_iterator_property_map(lowpt.begin(), index_map, vst), params, get_param(params, vertex_predecessor)); } }; template struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params, DiscoverTimeMap dtm) { typedef typename property_value< bgl_named_params
, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, dtm, params, get_param(params, vertex_lowpoint)); } }; template <> struct bicomp_dispatch1 { template static std::pair apply(const Graph& g, ComponentMap comp, OutputIterator out, VertexIndexMap index_map, const bgl_named_params& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params, error_property_not_found) { typedef typename graph_traits::vertices_size_type vertices_size_type; std::vector discover_time(num_vertices(g)); vertices_size_type vst(0); typedef typename property_value< bgl_named_params, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
, vertex_lowpoint_t>::type dispatch_type; return bicomp_dispatch2::apply (g, comp, out, index_map, make_iterator_property_map(discover_time.begin(), index_map, vst), params, get_param(params, vertex_lowpoint)); } }; } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, DiscoverTimeMap dtm, LowPointMap lowpt) { typedef detail::error_property_not_found dispatch_type; return detail::bicomp_dispatch3::apply (g, comp, out, get(vertex_index, g), dtm, lowpt, bgl_named_params(0), detail::error_property_not_found()); } template std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out, const bgl_named_params& params) { typedef typename property_value< bgl_named_params, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params) { typedef typename property_value< bgl_named_params
, vertex_discover_time_t>::type dispatch_type; return detail::bicomp_dispatch1::apply(g, comp, out, choose_const_pmap(get_param(params, vertex_index), g, vertex_index), params, get_param(params, vertex_discover_time)); } template < typename Graph, typename ComponentMap, typename OutputIterator> std::pair biconnected_components(const Graph& g, ComponentMap comp, OutputIterator out) { return biconnected_components(g, comp, out, bgl_named_params(0)); } namespace graph_detail { struct dummy_output_iterator { typedef std::output_iterator_tag iterator_category; typedef void value_type; typedef void pointer; typedef void difference_type; struct reference { template reference& operator=(const T&) { return *this; } }; reference operator*() const { return reference(); } dummy_output_iterator& operator++() { return *this; } dummy_output_iterator operator++(int) { return *this; } }; } // end namespace graph_detail template std::size_t biconnected_components(const Graph& g, ComponentMap comp, const bgl_named_params& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator(), params).first; } template std::size_t biconnected_components(const Graph& g, ComponentMap comp) { return biconnected_components(g, comp, graph_detail::dummy_output_iterator()).first; } template OutputIterator articulation_points(const Graph& g, OutputIterator out, const bgl_named_params& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */
& params) { return biconnected_components(g, dummy_property_map(), out, params).second; } template OutputIterator articulation_points(const Graph& g, OutputIterator out) { return biconnected_components(g, dummy_property_map(), out, bgl_named_params(0)).second; } } // namespace boost #endif /* BOOST_GRAPH_BICONNECTED_COMPONENTS_HPP */