Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::subgraph< Graph > Class Template Reference

#include <subgraph.hpp>

Collaboration diagram for boost::subgraph< Graph >:

Public Types

typedef Traits::vertex_descriptor vertex_descriptor
 
typedef Traits::edge_descriptor edge_descriptor
 
typedef Traits::directed_category directed_category
 
typedef
Traits::edge_parallel_category 
edge_parallel_category
 
typedef Traits::traversal_category traversal_category
 
typedef Traits::out_edge_iterator out_edge_iterator
 
typedef Traits::degree_size_type degree_size_type
 
typedef Traits::adjacency_iterator adjacency_iterator
 
typedef Traits::vertex_iterator vertex_iterator
 
typedef Traits::vertices_size_type vertices_size_type
 
typedef Traits::edge_iterator edge_iterator
 
typedef Traits::edges_size_type edges_size_type
 
typedef Traits::in_edge_iterator in_edge_iterator
 
typedef edge_property_type
< Graph >::type 
edge_property_type
 
typedef vertex_property_type
< Graph >::type 
vertex_property_type
 
typedef subgraph_tag graph_tag
 
typedef Graph graph_type
 
typedef graph_property_type
< Graph >::type 
graph_property_type
 
typedef indirect_iterator
< typename
ChildrenList::const_iterator,
subgraph< Graph >
, std::bidirectional_iterator_tag > 
children_iterator
 
typedef indirect_iterator
< typename
ChildrenList::const_iterator,
subgraph< Graph > const
, std::bidirectional_iterator_tag > 
const_children_iterator
 
typedef property_map< Graph,
edge_index_t >::type 
EdgeIndexMap
 
typedef property_traits
< EdgeIndexMap >::value_type 
edge_index_type
 

Public Member Functions

 subgraph ()
 
 subgraph (const graph_property_type &p)
 
 subgraph (vertices_size_type n, const graph_property_type &p=graph_property_type())
 
 subgraph (const subgraph &x)
 
 ~subgraph ()
 
subgraph< Graph > & create_subgraph ()
 
template<typename VertexIterator >
subgraph< Graph > & create_subgraph (VertexIterator first, VertexIterator last)
 
vertex_descriptor local_to_global (vertex_descriptor u_local) const
 
vertex_descriptor global_to_local (vertex_descriptor u_global) const
 
edge_descriptor local_to_global (edge_descriptor e_local) const
 
edge_descriptor global_to_local (edge_descriptor e_global) const
 
std::pair< vertex_descriptor,
bool > 
find_vertex (vertex_descriptor u_global) const
 
std::pair< edge_descriptor, bool > find_edge (edge_descriptor e_global) const
 
subgraphparent ()
 
const subgraphparent () const
 
bool is_root () const
 
subgraphroot ()
 
const subgraphroot () const
 
std::pair
< const_children_iterator,
const_children_iterator
children () const
 
std::pair< children_iterator,
children_iterator
children ()
 
std::size_t num_children () const
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
operator[] (Descriptor x)
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
const & 
operator[] (Descriptor x) const
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
operator[] (local_property< Descriptor > x)
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
const & 
operator[] (local_property< Descriptor > x) const
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
operator[] (global_property< Descriptor > x)
 
template<typename Descriptor >
graph::detail::bundled_result
< Graph, Descriptor >::type
const & 
operator[] (global_property< Descriptor > x) const
 
 BOOST_STATIC_ASSERT ((!is_same< edge_index_type, boost::detail::error_property_not_found >::value))
 
edge_descriptor local_add_edge (vertex_descriptor u_local, vertex_descriptor v_local, edge_descriptor e_global)
 

Static Public Member Functions

static vertex_descriptor null_vertex ()
 

Public Attributes

Graph m_graph
 
subgraph< Graph > * m_parent
 
edge_index_type m_edge_counter
 
ChildrenList m_children
 
GlobalVertexList m_global_vertex
 
LocalVertexMap m_local_vertex
 
GlobalEdgeList m_global_edge
 
LocalEdgeMap m_local_edge
 

Member Typedef Documentation

template<typename Graph>
typedef Traits::adjacency_iterator boost::subgraph< Graph >::adjacency_iterator
template<typename Graph>
typedef indirect_iterator< typename ChildrenList::const_iterator , subgraph<Graph> , std::bidirectional_iterator_tag > boost::subgraph< Graph >::children_iterator
template<typename Graph>
typedef indirect_iterator< typename ChildrenList::const_iterator , subgraph<Graph> const , std::bidirectional_iterator_tag > boost::subgraph< Graph >::const_children_iterator
template<typename Graph>
typedef Traits::degree_size_type boost::subgraph< Graph >::degree_size_type
template<typename Graph>
typedef Traits::directed_category boost::subgraph< Graph >::directed_category
template<typename Graph>
typedef Traits::edge_descriptor boost::subgraph< Graph >::edge_descriptor
template<typename Graph>
typedef property_traits<EdgeIndexMap>::value_type boost::subgraph< Graph >::edge_index_type
template<typename Graph>
typedef Traits::edge_iterator boost::subgraph< Graph >::edge_iterator
template<typename Graph>
typedef Traits::edge_parallel_category boost::subgraph< Graph >::edge_parallel_category
template<typename Graph>
typedef edge_property_type<Graph>::type boost::subgraph< Graph >::edge_property_type
template<typename Graph>
typedef property_map<Graph, edge_index_t>::type boost::subgraph< Graph >::EdgeIndexMap
template<typename Graph>
typedef Traits::edges_size_type boost::subgraph< Graph >::edges_size_type
template<typename Graph>
typedef graph_property_type<Graph>::type boost::subgraph< Graph >::graph_property_type
template<typename Graph>
typedef subgraph_tag boost::subgraph< Graph >::graph_tag
template<typename Graph>
typedef Graph boost::subgraph< Graph >::graph_type
template<typename Graph>
typedef Traits::in_edge_iterator boost::subgraph< Graph >::in_edge_iterator
template<typename Graph>
typedef Traits::out_edge_iterator boost::subgraph< Graph >::out_edge_iterator
template<typename Graph>
typedef Traits::traversal_category boost::subgraph< Graph >::traversal_category
template<typename Graph>
typedef Traits::vertex_descriptor boost::subgraph< Graph >::vertex_descriptor
template<typename Graph>
typedef Traits::vertex_iterator boost::subgraph< Graph >::vertex_iterator
template<typename Graph>
typedef vertex_property_type<Graph>::type boost::subgraph< Graph >::vertex_property_type
template<typename Graph>
typedef Traits::vertices_size_type boost::subgraph< Graph >::vertices_size_type

Constructor & Destructor Documentation

template<typename Graph>
boost::subgraph< Graph >::subgraph ( )
inline
template<typename Graph>
boost::subgraph< Graph >::subgraph ( const graph_property_type p)
inline
template<typename Graph>
boost::subgraph< Graph >::~subgraph ( )
inline

Member Function Documentation

template<typename Graph>
boost::subgraph< Graph >::BOOST_STATIC_ASSERT ( (!is_same< edge_index_type, boost::detail::error_property_not_found >::value)  )
template<typename Graph>
std::pair<children_iterator, children_iterator> boost::subgraph< Graph >::children ( )
inline
template<typename Graph>
subgraph<Graph>& boost::subgraph< Graph >::create_subgraph ( )
inline
template<typename Graph>
template<typename VertexIterator >
subgraph<Graph>& boost::subgraph< Graph >::create_subgraph ( VertexIterator  first,
VertexIterator  last 
)
inline
template<typename Graph>
vertex_descriptor boost::subgraph< Graph >::global_to_local ( vertex_descriptor  u_global) const
inline
template<typename Graph>
edge_descriptor boost::subgraph< Graph >::local_add_edge ( vertex_descriptor  u_local,
vertex_descriptor  v_local,
edge_descriptor  e_global 
)
inline
template<typename Graph>
static vertex_descriptor boost::subgraph< Graph >::null_vertex ( )
inlinestatic
template<typename Graph>
std::size_t boost::subgraph< Graph >::num_children ( ) const
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type& boost::subgraph< Graph >::operator[] ( Descriptor  x)
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type const& boost::subgraph< Graph >::operator[] ( Descriptor  x) const
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type& boost::subgraph< Graph >::operator[] ( local_property< Descriptor >  x)
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type const& boost::subgraph< Graph >::operator[] ( local_property< Descriptor >  x) const
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type& boost::subgraph< Graph >::operator[] ( global_property< Descriptor >  x)
inline
template<typename Graph>
template<typename Descriptor >
graph::detail::bundled_result<Graph, Descriptor>::type const& boost::subgraph< Graph >::operator[] ( global_property< Descriptor >  x) const
inline
template<typename Graph>
subgraph& boost::subgraph< Graph >::parent ( )
inline
template<typename Graph>
const subgraph& boost::subgraph< Graph >::parent ( ) const
inline
template<typename Graph>
const subgraph& boost::subgraph< Graph >::root ( ) const
inline

Member Data Documentation

template<typename Graph>
edge_index_type boost::subgraph< Graph >::m_edge_counter
template<typename Graph>
GlobalEdgeList boost::subgraph< Graph >::m_global_edge
template<typename Graph>
LocalEdgeMap boost::subgraph< Graph >::m_local_edge

The documentation for this class was generated from the following file: